設定ファイル:/home/rustserver/serverfiles/oxide/config/GUIShop.json
設定済みサンプル(ver2.4.45)
ファイル:GUIShop_ver2.4.45_20230731.zip
1.パラメータ設定
設定変更が必要なパラメータ(任意の値に変更)
下記では不要カテゴリーの無効化と、カテゴリー別に売買商品の設定します。
| No | カテゴリー名 | デフォルト値 | 設定値 | 商品 | 備考 |
| 01 | Commands | true | true | Heli Attack,Mini BackPack,Medium BackPack,Mega BackPack,Chassi Craft Skill 1,Chassi Craft Skill 2,Chassi Craft Skill 3 | 攻撃ヘリ呼び出し、バックパック拡張、シャーシスキル |
| 02 | Attire | true | true | Hazmat Suit,Arctic Suit,Nomad Suit,Space Suit | ハズマットスーツ等 |
| 03 | Misc | true | true | Green Keycard,Blue Keycard,Red Keycard | カード等 |
| 04 | Items | true | true | Workbench Level 1,Workbench Level 2,Workbench Level 3,Vending Machine,Recycler,Test Generator | ワークベンチ、リサイクラー、テストジェネレータ等 |
| 05 | Component | true | true | Rifle Body,Semi Automatic Body,SMG Body,Electric Fuse,Gears,Metal Spring,Metal Blade,Sewing Kit,Sheet Metal,Tarp,Tech Trash,Rope | コンポーネントいろいろ |
| 06 | Ammunition | true | true | Pistol Bullet,5.56 Rifle Ammo,12 Gauge Buckshot,Rocket,Satchel Charge,Timed Explosive Charge,F1 Grenade | 弾薬いろいろ |
| 07 | Construction | true | true | Wooden Ladder,Door Closer | はしご、ドアクルーザー |
| 08 | Traps | true | false | 無効 | |
| 09 | Electrical | true | true | Green Industrial Wall Light,Industrial Wall Light,Red Industrial Wall Light,Small Neon Sign,Medium Neon Sign,Large Neon Sign,Deluxe Christmas Lights,Medium Animated Neon Sign,Large Animated Neon Sign,Simple Light,Disco Floor,Disco Ball,CCTV Camera | 電気系いろいろ |
| 10 | Fun | true | false | 無効 | |
| 11 | Food | true | false | 無効 | |
| 12 | Resources | true | true | Dog Tag,Blue Dog Tags,Red Dog Tags,Scrap,High Quality Metal,Low Grade Fuel,Diesel Fuel | リソースいろいろ |
| 13 | Tool | true | true | Pickaxe,Hatchet,Jackhammer,Chainsaw,Spray Can,Binoculars,Garry's Mod Tool Gun | ツールいろいろ |
| 14 | Weapon | true | true | Thompson,Double Barrel Shotgun | 武器いろいろ |
| 15 | Medical | true | true | Large Medkit,Medical Syringe,Bandage | 回復いろいろ |
カテゴリーの無効化は、カテゴリー内の「EnabledCategory」を設定します。
| パラメータ | デフォルト値 | 設定値 | 備考 |
| EnabledCategory | true | false | 無効化 |
GUIShop追加アイテム(Shop - Shop List):「Heli Attack」、「Mini BackPack」、「Medium BackPack」、「Mega BackPack」、「Chassi Craft Skill 1」、「Chassi Craft Skill 2」、「Chassi Craft Skill 3」、「Recycler」、「Test Generator」
"Heli Attack": {
"DisplayName": "Heli Attack",
"CraftAsDisplayName": false,
"Shortname": "heliattack",
"ItemId": 0,
"MakeBlueprint": false,
"AllowSellOfUsedItems": false,
"Condition": 0.0,
"EnableBuy": true,
"EnableSell": false,
"Image": "https://i.imgur.com/XS9yiqi.png",
"SellPrice": 0.0,
"BuyPrice": 1.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [
1
],
"SellQuantity": [],
"BuyLimit": 0,
"BuyLimitResetCoolDown": 600,
"SwapLimitToQuantityBuyLimit": false,
"SellLimit": 0,
"SellLimitResetCoolDown": 0,
"SwapLimitToQuantitySoldLimit": false,
"KitName": "",
"Command": [
"callheli $player.id"
],
"RunCommandAndCustomShopItem": false,
"GeneTypes": [],
"SkinId": 0
},
"Mini BackPack": {
"DisplayName": "Mini BackPack",
"CraftAsDisplayName": false,
"Shortname": "minibackpack",
"ItemId": 0,
"MakeBlueprint": false,
"AllowSellOfUsedItems": false,
"Condition": 0.0,
"EnableBuy": true,
"EnableSell": false,
"Image": "https://i.imgur.com/y6PwJSn.png",
"SellPrice": 1.0,
"BuyPrice": 5000.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [],
"SellQuantity": [],
"BuyLimit": 1,
"BuyLimitResetCoolDown": 0,
"SwapLimitToQuantityBuyLimit": false,
"SellLimit": 0,
"SellLimitResetCoolDown": 0,
"SwapLimitToQuantitySoldLimit": false,
"KitName": "",
"Command": [
"oxide.grant user $player.id backpacks.use.2"
],
"RunCommandAndCustomShopItem": false,
"GeneTypes": [],
"SkinId": 0
},
"Medium BackPack": {
"DisplayName": "Medium BackPack",
"CraftAsDisplayName": false,
"Shortname": "mediumbackpack",
"ItemId": 0,
"MakeBlueprint": false,
"AllowSellOfUsedItems": false,
"Condition": 0.0,
"EnableBuy": true,
"EnableSell": false,
"Image": "https://i.imgur.com/y6PwJSn.png",
"SellPrice": 1.0,
"BuyPrice": 10000.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [],
"SellQuantity": [],
"BuyLimit": 1,
"BuyLimitResetCoolDown": 0,
"SwapLimitToQuantityBuyLimit": false,
"SellLimit": 0,
"SellLimitResetCoolDown": 0,
"SwapLimitToQuantitySoldLimit": false,
"KitName": "",
"Command": [
"oxide.grant user $player.id backpacks.use.4"
],
"RunCommandAndCustomShopItem": false,
"GeneTypes": [],
"SkinId": 0
},
"Mega BackPack": {
"DisplayName": "Mega BackPack",
"CraftAsDisplayName": false,
"Shortname": "megabackpack",
"ItemId": 0,
"MakeBlueprint": false,
"AllowSellOfUsedItems": false,
"Condition": 0.0,
"EnableBuy": true,
"EnableSell": false,
"Image": "https://i.imgur.com/y6PwJSn.png",
"SellPrice": 1.0,
"BuyPrice": 30000.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [],
"SellQuantity": [],
"BuyLimit": 1,
"BuyLimitResetCoolDown": 0,
"SwapLimitToQuantityBuyLimit": false,
"SellLimit": 0,
"SellLimitResetCoolDown": 0,
"SwapLimitToQuantitySoldLimit": false,
"KitName": "",
"Command": [
"oxide.grant user $player.id backpacks.use.7"
],
"RunCommandAndCustomShopItem": false,
"GeneTypes": [],
"SkinId": 0
},
"Chassi Craft Skill 1": {
"DisplayName": "Chassi Craft Skill 1",
"CraftAsDisplayName": false,
"Shortname": "vehicle.chassis.2mod",
"ItemId": -44066600,
"MakeBlueprint": false,
"AllowSellOfUsedItems": false,
"Condition": 0.0,
"EnableBuy": true,
"EnableSell": false,
"Image": "",
"SellPrice": 1.0,
"BuyPrice": 1000.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [],
"SellQuantity": [],
"BuyLimit": 1,
"BuyLimitResetCoolDown": 0,
"SwapLimitToQuantityBuyLimit": false,
"SellLimit": 0,
"SellLimitResetCoolDown": 0,
"SwapLimitToQuantitySoldLimit": false,
"KitName": "",
"Command": [
"o.grant user $player.id craftchassis.2"
],
"RunCommandAndCustomShopItem": false,
"GeneTypes": [],
"SkinId": 0
},
"Chassi Craft Skill 2": {
"DisplayName": "Chassi Craft Skill 2",
"CraftAsDisplayName": false,
"Shortname": "vehicle.chassis.3mod",
"ItemId": -44066823,
"MakeBlueprint": false,
"AllowSellOfUsedItems": false,
"Condition": 0.0,
"EnableBuy": true,
"EnableSell": false,
"Image": "",
"SellPrice": 1.0,
"BuyPrice": 2500.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [],
"SellQuantity": [],
"BuyLimit": 1,
"BuyLimitResetCoolDown": 0,
"SwapLimitToQuantityBuyLimit": false,
"SellLimit": 0,
"SellLimitResetCoolDown": 0,
"SwapLimitToQuantitySoldLimit": false,
"KitName": "",
"Command": [
"o.grant user $player.id craftchassis.3"
],
"RunCommandAndCustomShopItem": false,
"GeneTypes": [],
"SkinId": 0
},
"Chassi Craft Skill 3": {
"DisplayName": "Chassi Craft Skill 3",
"CraftAsDisplayName": false,
"Shortname": "vehicle.chassis.4mod",
"ItemId": -44066790,
"MakeBlueprint": false,
"AllowSellOfUsedItems": false,
"Condition": 0.0,
"EnableBuy": true,
"EnableSell": false,
"Image": "",
"SellPrice": 1.0,
"BuyPrice": 5000.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [],
"SellQuantity": [],
"BuyLimit": 1,
"BuyLimitResetCoolDown": 0,
"SwapLimitToQuantityBuyLimit": false,
"SellLimit": 0,
"SellLimitResetCoolDown": 0,
"SwapLimitToQuantitySoldLimit": false,
"KitName": "",
"Command": [
"o.grant user $player.id craftchassis.4"
],
"RunCommandAndCustomShopItem": false,
"GeneTypes": [],
"SkinId": 0
},
"Recycler": {
"DisplayName": "Recycler",
"CraftAsDisplayName": false,
"Shortname": "recycler",
"ItemId": 0,
"MakeBlueprint": false,
"AllowSellOfUsedItems": false,
"Condition": 0.0,
"EnableBuy": true,
"EnableSell": false,
"Image": "https://i.imgur.com/ZT4lnij.png",
"SellPrice": 1.0,
"BuyPrice": 5000.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [],
"SellQuantity": [],
"BuyLimit": 0,
"BuyLimitResetCoolDown": 0,
"SwapLimitToQuantityBuyLimit": false,
"SellLimit": 0,
"SellLimitResetCoolDown": 0,
"SwapLimitToQuantitySoldLimit": false,
"KitName": "",
"Command": [
"recycler.give $player.id"
],
"RunCommandAndCustomShopItem": false,
"GeneTypes": [],
"SkinId": 0
},
2.前提プラグイン
設定を有効にするには、事前に下記のプラグインの導入設定が必要となります。
| 商品名 | プラグイン名 |
| Heli Attack | Heli Control |
| Mini BackPack | Backpacks |
| Medium BackPack | Backpacks |
| Mega BackPack | Backpacks |
| Chassi Craft Skill 1 | Craft Car Chassis |
| Chassi Craft Skill 2 | Craft Car Chassis |
| Chassi Craft Skill 3 | Craft Car Chassis |
| Recycler | Extended Recycler |
コメント
ページ閲覧回数( 合計:?回 今日:?回 昨日:?回 )