Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- There are two methods to add this to craft menu:
- 1. Using command as result item
- We have default plugin command "gps <userId>", that give GPS to player, so we can use it in field: "Additional commands to execute (you can grant permission, or something else. %STEAMID% support)", so just write: "gps %STEAMID%".
- So your settings will looks like (i already setted right custom image of item for you ;3):
- {
- "Display name (in interface)": "GPS Tracker",
- "Display description (in interface)": "Your description",
- "Result item settings": {
- "Custom item name (crafted item will have this name)": null,
- "Shortname of item": "",
- "Item amount": 0,
- "SkinID": 0,
- "Craft length (in seconds)": 35,
- "Workbench level (0, 1, 2, 3)": 2,
- "Additional commands to execute (you can grant permission, or something else. %STEAMID% support)": "gps %STEAMID%",
- "Custom image of item (for interface)": "https://i.imgur.com/G0jygti.png"
- },
- "Craft settings": [
- {
- "Shortname of item": "glue",
- "Amount": 1,
- "SkinID of item": 0,
- "Custom image of item (for interface)": null
- },
- {
- "Shortname of item": "sticks",
- "Amount": 1,
- "SkinID of item": 0,
- "Custom image of item (for interface)": null
- }
- ]
- }
- 3. Using default item creation, you can set prize as default item, with custom skin. In this situation, skinID is 1627796062, and it is skin for default item "fuse".
- So your settings will looks like (i already setted right custom image of item for you ;3):
- {
- "Display name (in interface)": "GPS Tracker",
- "Display description (in interface)": "Your description",
- "Result item settings": {
- "Custom item name (crafted item will have this name)": null,
- "Shortname of item": "fuse",
- "Item amount": 1,
- "SkinID": 1627796062,
- "Craft length (in seconds)": 35,
- "Workbench level (0, 1, 2, 3)": 2,
- "Additional commands to execute (you can grant permission, or something else. %STEAMID% support)": "",
- "Custom image of item (for interface)": "https://i.imgur.com/OLrQo7k.png"
- },
- "Craft settings": [
- {
- "Shortname of item": "glue",
- "Amount": 1,
- "SkinID of item": 0,
- "Custom image of item (for interface)": null
- },
- {
- "Shortname of item": "sticks",
- "Amount": 1,
- "SkinID of item": 0,
- "Custom image of item (for interface)": null
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement