Teleporter 1.0

Teleporter, Inventory, Item, ItemStack, API

  1. PentDeck
    Contributors:
    PentDeck
    This plugin allows you to create TeleporterInventories + Items to teleport the players to different places. Every option is editable with a configuration file based on an JSON string. One reload and everything is working (when you pay attention to the hints).

    This plugin allows you to:
    • Place teleporter items on Join
    • Customize the teleporter item (in player inventory)
    • Resize the teleporter inventory
    • Rename the teleporter inventory
    • place items on specific slots
    • create Lores, Enchantments, Data to the teleporter items
    • set Locations to each item

    Commands:
    • /teleporter - Open up the teleporter inventory (when it exists)
    Permissions:
    No permissions required

    Config examples:
    [​IMG]

    #InventorySettings as JSON String
    #Do not remove { " [ ...
    #For more infos and help visit my Spigot plugin page
    #Use: true for on | false for off
    {
    "inventoryName":"&aTeleporter",
    "inventorySize":"45",
    "placeOnJoin":"true",
    "playerSlot":"0",
    "itemDisplayName":"&aTeleporter",
    "itemMaterial":"WATCH",
    "inventoryitems":
    [
    {
    "slot":"4",
    "displayName":"&aSurvivalGames",
    "material":"IRON_SWORD",
    "data":"0",
    "lores":
    [
    {
    "string":"&bPlay our SurvivalGames"
    },
    {
    "string":" "
    },
    {
    "string":"&aClick to teleport to &bSurvivalGames"
    },
    ],
    "location":
    [
    {
    "world":"world"
    "x":"0"
    "y":"70"
    "z":"0"
    "yaw":"0"
    "pitch":"0"
    }
    ]
    },
    {
    "slot":"22",
    "displayName":"&aSpawn",
    "material":"MAGMA_CREAM",
    "data":"0",
    "lores":
    [
    {
    "string":"&aTeleport to Spawn"
    }
    ],
    "location":
    [
    {
    "world":"world"
    "x":"0"
    "y":"70"
    "z":"0"
    "yaw":"0"
    "pitch":"0"
    }
    ]
    },
    {
    "slot":"18",
    "displayName":"&cBedWars",
    "material":"BED",
    "data":"0",
    "lores":
    [
    {
    "string":"&bPlay our &aBedWars"
    }
    ],
    "location":
    [
    {
    "world":"world"
    "x":"0"
    "y":"70"
    "z":"0"
    "yaw":"0"
    "pitch":"0"
    }
    ]
    },
    {
    "slot":"26",
    "displayName":"&cPlay Area",
    "material":"INK_SACK",
    "data":"10",
    "lores":
    [
    {
    "string":"&bEnter the &cPlayArea"
    }
    ],
    "location":
    [
    {
    "world":"world"
    "x":"0"
    "y":"70"
    "z":"0"
    "yaw":"0"
    "pitch":"0"
    }
    ]
    }
    ]
    }

    [​IMG]

    #InventorySettings as JSON String
    #Do not remove { " [ ...
    #For more infos and help visit my Spigot plugin page
    #Use: true for on | false for off
    {
    "inventoryName":"&aTeleporter",
    "inventorySize":"9",
    "placeOnJoin":"true",
    "playerSlot":"0",
    "itemDisplayName":"&aTeleporter",
    "itemMaterial":"WATCH",
    "inventoryitems":
    [
    {
    "slot":"0",
    "displayName":"&aSurvivalGames",
    "material":"IRON_SWORD",
    "data":"0",
    "lores":
    [
    {
    "string":"&bPlay our SurvivalGames"
    },
    {
    "string":" "
    },
    {
    "string":"&aClick to teleport to &bSurvivalGames"
    },
    ],
    "location":
    [
    {
    "world":"world"
    "x":"0"
    "y":"70"
    "z":"0"
    "yaw":"0"
    "pitch":"0"
    }
    ]
    },
    {
    "slot":"1",
    "displayName":"&aSpawn",
    "material":"MAGMA_CREAM",
    "data":"0",
    "lores":
    [
    {
    "string":"&aTeleport to Spawn"
    }
    ],
    "location":
    [
    {
    "world":"world"
    "x":"0"
    "y":"70"
    "z":"0"
    "yaw":"0"
    "pitch":"0"
    }
    ]
    },
    {
    "slot":"2",
    "displayName":"&cBedWars",
    "material":"BED",
    "data":"0",
    "lores":
    [
    {
    "string":"&bPlay our &aBedWars"
    }
    ],
    "location":
    [
    {
    "world":"world"
    "x":"0"
    "y":"70"
    "z":"0"
    "yaw":"0"
    "pitch":"0"
    }
    ]
    },
    {
    "slot":"3",
    "displayName":"&cPlay Area",
    "material":"INK_SACK",
    "data":"10",
    "lores":
    [
    {
    "string":"&bEnter the &cPlayArea"
    }
    ],
    "location":
    [
    {
    "world":"world"
    "x":"0"
    "y":"70"
    "z":"0"
    "yaw":"0"
    "pitch":"0"
    }
    ]
    }
    ]
    }

    What does this plugin use?
    • The PlayerJoinEvent (when placeOnJoin is true)
    • The PlayerInteractEvent (when placeOnJoin is true)
    • The InventoryClickEvent (when inventory is the teleporter inventory)
    • Files (/plugins/Teleporter/config.json)

    For more informations and help visit my twitter page
    https://twitter.com/PentDeck


    A plugin by PentDeck
    ALCapone_1867 likes this.