TownyGUI 0.17 Fixed

An interactive icon menu plugin for Towny.

  1. Viariouz
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    Source Code:
    https://github.com/andrewyunt/TownyGUI
    TownyGUI
    TownyGUI is a plugin for Towny servers who don't want players to have to memorize or look up commands every time they want to manage their towns. I created this plugin because I'm tired of people charging money for plugins made for open source projects such as Towny. This plugin is packed with features and I will continue to provide support here at no cost.

    Features
    • Ability to set the type of the item being displayed
    • Ability to add glow to items (1.8 or higher only, support for 1.7 coming soon)
    • Ability to change title and lore of items
    • Ability to create and arrange icons on menus
    • Ability to create interactive chat dialogues
    • Ability to change command on item click
    • Supports MC versions 1.7.9 or higher
    Usage
    There is currently only one master command in the plugin which is "/tgui" or "/townygui" with the permission node "towny.gui.open"

    There will be signs added to open menus, and a command parameter to open specific menus added soon.


    Configuration
    ############################################################
    # +------------------------------------------------------+ #
    # | TownyGUI menus | #
    # +------------------------------------------------------+ #
    ############################################################
    # Warning - Do not rename or remove the main menu
    # TownyGUI will automatically open to the main menu
    menus:
    Main:
    title: "Main Menu"
    size: 9
    material: IRON_FENCE
    data: 0
    lore:
    - "&cReturn to the main menu."
    icons:
    Towny:
    slot: 1
    Plot:
    slot: 3
    Resident:
    slot: 5
    Town:
    slot: 7
    Nation:
    slot: 9
    Towny:
    title: "Towny Menu"
    size: 27
    material: GLASS
    data: 0
    lore:
    - "Towny's general functions are located here. "
    icons:
    /towny map:
    slot: 1
    /towny prices:
    slot: 3
    /towny time:
    slot: 5
    /towny top residents:
    slot: 7
    /towny top land:
    slot: 9
    /towny universe:
    slot: 13
    Towny_War:
    slot: 15
    Main:
    slot: 27
    Plot:
    title: "Plot Menu"
    size: 36
    material: SIGN
    data: 0
    lore:
    - "Manage the plot you are currently standing on."
    icons:
    /plot claim:
    slot: 1
    /plot unclaim:
    slot: 3
    /plot forsale:
    slot: 5
    /plot notforsale:
    slot: 7
    /plot perm:
    slot: 9
    /plot perm hud:
    slot: 11
    /plot set:
    slot: 13
    /plot set name:
    slot: 15
    Plot_Toggle:
    slot: 17
    /plot clear:
    slot: 23
    Main:
    slot: 36
    Resident:
    title: "Resident Menu"
    size: 27
    material: WOOD_DOOR
    data: 0
    lore:
    - "Manage your Towny character."
    icons:
    /resident:
    slot: 1
    /resident friend add:
    slot: 3
    /resident friend remove:
    slot: 5
    /resident friend clearlist:
    slot: 7
    /resident list:
    slot: 9
    /resident jail paybail:
    slot: 11
    /resident spawn:
    slot: 13
    /resident tax:
    slot: 15
    Resident_Toggle:
    slot: 17
    Main:
    slot: 27
    Town:
    title: "Town Menu"
    size: 54
    material: BOOKSHELF
    data: 0
    lore:
    - "Manage your town."
    icons:
    /town:
    slot: 1
    /town leave:
    slot: 3
    /town list:
    slot: 5
    /town online:
    slot: 7
    /town new:
    slot: 9
    /town add:
    slot: 11
    /town kick:
    slot: 13
    /town spawn:
    slot: 15
    /town outpost:
    slot: 17
    /town claim:
    slot: 19
    /town unclaim:
    slot: 21
    /town withdraw:
    slot: 23
    /town deposit:
    slot: 25
    /town buy bonus:
    slot: 27
    /town ranklist:
    slot: 29
    /town rank:
    slot: 31
    /town reslist:
    slot: 33
    /town join:
    slot: 35
    Town_Toggle:
    slot: 39
    Town_Set:
    slot: 41
    /town delete:
    slot: 43
    Main:
    slot: 54
    Nation:
    title: "Nation Menu"
    size: 45
    material: ARROW
    data: 0
    lore:
    - "Manage your nation."
    icons:
    /nation list:
    slot: 1
    /nation online:
    slot: 3
    /nation leave:
    slot: 5
    /nation withdraw:
    slot: 7
    /nation deposit:
    slot: 9
    /nation new:
    slot: 11
    /nation rank:
    slot: 13
    /nation add:
    slot: 15
    /nation kick:
    slot: 17
    /nation delete:
    slot: 19
    /nation ally add:
    slot: 21
    /nation ally remove:
    slot: 23
    /nation enemy add:
    slot: 25
    /nation enemy remove:
    slot: 27
    /nation rank:
    slot: 29
    /nation toggle peaceful:
    slot: 31
    Nation_Set:
    slot: 33
    Main:
    slot: 45
    Towny_War:
    title: "Towny War Menu"
    size: 18
    permission: "towny.command.towny.war"
    material: IRON_SWORD
    data: 0
    enchant_glow: true
    lore: {}
    icons:
    /towny war stats:
    slot: 3
    /towny war scores:
    slot: 5
    /towny war hud:
    slot: 7
    Towny:
    slot: 18
    Town_Set:
    title: "Town Set Menu"
    size: 45
    material: WOOD_BUTTON
    data: 0
    lore: {}
    icons:
    /town set board:
    slot: 1
    /town set mayor:
    slot: 3
    /town set homeblock:
    slot: 5
    /town set spawn:
    slot: 7
    /town set name:
    slot: 9
    /town set tag:
    slot: 11
    /town set outpost:
    slot: 13
    /town set jail:
    slot: 15
    /town set taxes:
    slot: 17
    /town set plottax:
    slot: 19
    /town set shoptax:
    slot: 21
    /town set embassytax:
    slot: 23
    /town set plotprice:
    slot: 25
    /town set shopprice:
    slot: 27
    /town set embassyprice:
    slot: 31
    Town:
    slot: 45
    Town_Toggle:
    title: "Town Toggle Menu"
    size: 27
    material: LEVER
    data: 0
    lore: {}
    icons:
    /town toggle explosion:
    slot: 1
    /town toggle fire:
    slot: 3
    /town toggle mobs:
    slot: 5
    /town toggle pvp:
    slot: 7
    /town toggle public:
    slot: 9
    /town toggle taxpercent:
    slot: 11
    /town toggle open:
    slot: 13
    /town toggle jail:
    slot: 15
    Town:
    slot: 27
    Nation_Set:
    title: "Nation Set Menu"
    size: 27
    material: WOOD_BUTTON
    data: 0
    lore: {}
    icons:
    /nation set king:
    slot: 1
    /nation set capital:
    slot: 3
    /nation set taxes:
    slot: 5
    /nation set name:
    slot: 7
    /nation set title:
    slot: 9
    /nation set surname:
    slot: 13
    /nation set tag:
    slot: 15
    Nation:
    slot: 27
    Plot_Toggle:
    title: "Plot Toggle Menu"
    size: 18
    material: LEVER
    data: 0
    lore: {}
    icons:
    /plot toggle explosions:
    slot: 1
    /plot toggle fire:
    slot: 3
    /plot toggle mobs:
    slot: 5
    /plot toggle pvp:
    slot: 7
    Plot:
    slot: 18
    Resident_Toggle:
    title: "Resident Toggle Menu"
    size: 18
    material: LEVER
    data: 0
    lore: {}
    icons:
    /resident toggle map:
    slot: 3
    /resident toggle plotborder:
    slot: 5
    /resident toggle townclaim:
    slot: 7
    Resident:
    slot: 18
    ############################################################
    # +------------------------------------------------------+ #
    # | TownyGUI commands | #
    # +------------------------------------------------------+ #
    ############################################################
    commands:
    # Towny Menu commands
    /towny map:
    title: "Towny Map"
    permission: "towny.command.towny.map"
    material: EMPTY_MAP
    data: 0
    lore:
    - "Shows the Towny map."
    /towny prices:
    title: "Towny Prices"
    permission: "towny.command.towny.prices"
    material: EMERALD
    data: 0
    lore:
    - "Shows taxes/costs associated with running a town."
    /towny time:
    title: "Towny Time"
    permission: "towny.command.towny.time"
    material: WATCH
    data: 0
    lore:
    - "Shows time until next new-day (tax/upkeep collection.)"
    /towny top residents:
    title: "Top Residents"
    permission: "towny.command.towny.top"
    material: SKULL_ITEM
    data: 3
    lore:
    - "Shows top residents."
    arguments:
    <WHERE>: "&aWhich place do you want to get the top residents from? Possible options: {all/town/nation}"
    /towny top land:
    title: "Top Land Owners"
    permission: "towny.command.towny.top"
    material: GRASS
    data: 0
    lore:
    - "Shows top land owners."
    arguments:
    <WHERE>: "&aWhich place do you want to get the top land owners from? Possible options: {all/town/nation}"
    /towny universe:
    title: "Towny Universe"
    permission: "towny.command.towny.universe"
    material: GRASS
    data: 0
    lore:
    - "Shows full Towny stats, resident/town/nation/world counts as well as townblocks claimed."
    /towny war stats:
    title: "Stats"
    material: ARROW
    data: 0
    lore:
    - "Displays war event stats."
    /towny war scores:
    title: "Scores"
    material: ARROW
    data: 0
    lore:
    - "Displays war event scores."
    /towny war hud:
    title: "Toggle War Hud"
    material: ARROW
    data: 0
    lore:
    - "Toggles the Towny war HUD on the right side of the screen."
    # Plot Menu Commands
    /plot claim:
    title: "Claim Plot"
    permission: "towny.command.plot.claim"
    material: WOOD_AXE
    data: 0
    lore:
    - "Claims the plot you are currently standing on if it is for sale."
    /plot unclaim:
    title: "Unclaim Plot"
    permission: "towny.command.plot.unclaim"
    material: FLINT_AND_STEEL
    data: 0
    lore:
    - "Unclaim personally owned plots."
    /plot forsale:
    title: "Sell Plot"
    permission: "towny.command.plot.forsale"
    material: DIAMOND
    data: 0
    lore:
    - "Sell the plot you are currently standing on."
    arguments:
    <PRICE>: "&aWhat price would you like to sell the plot for?"
    /plot notforsale:
    title: "Remove Plot Sale"
    permission: "towny.command.plot.notforsale"
    material: BOOK
    data: 0
    lore:
    - "Takes the plot you are currently standing in off the market."
    /plot perm:
    title: "Plot Permissions"
    permission: "towny.command.plot.perm"
    material: SIGN
    data: 0
    lore:
    - "Check the permissions of the plot you are standing on."
    /plot perm hud:
    title: "Toggle Plot Permissions Hud"
    permission: "towny.command.plot.perm"
    material: SIGN
    data: 0
    lore:
    - "Toggles the plot permissions hud on the right side of the screen."
    /plot set:
    title: "Set Plot Type"
    material: BOOK
    data: 0
    lore:
    - "Sets a plot to the specified plot type."
    arguments:
    <type>: "&aWhat plot type would you like to set the plot to? Possible options: {reset/shop/embassy/arena/inn/jail/wilds/farm}"
    /plot set name:
    title: "Set Plot Name"
    permission: "towny.command.town.set.name"
    material: NAME_TAG
    data: 0
    lore:
    - "Renames a plot, replacing the ~Unowned message if a public plot."
    - "Personal plots display both the plot's name and owner."
    arguments:
    <NAME>: "&aWhat would you like to name the plot?"
    /plot toggle explosions:
    title: "Toggle Plot Explosions"
    material: TNT
    data: 0
    lore:
    - "Toggles explosions in the plot you are standing on."
    /plot toggle fire:
    title: "Toggle Plot Fire"
    material: FLINT_AND_STEEL
    data: 0
    lore:
    - "Toggles fire in the plot you are standing on."
    /plot toggle mobs:
    title: "Toggle Plot Mobs"
    material: SKULL_ITEM
    data: 0
    lore:
    - "Toggles mobs in the plot you are standing on."
    /plot toggle pvp:
    title: "Toggle Plot PvP"
    material: IRON_SWORD
    data: 0
    enchant_glow: true
    lore:
    - "Toggles PvP in the plot you are standing on."
    /plot clear:
    title: "Plot Clear"
    permission: "towny.command.plot.clear"
    material: IRON_SPADE
    data: 0
    lore:
    - "Removes list of block id�s from a plot."
    - "&cWARNING: POTENTIAL TO CAUSE DAMAGE!"
    # Resident Menu Commands
    /resident:
    title: "My Resident"
    material: PAINTING
    data: 0
    lore:
    - "Displays your Towny resident information."
    /resident friend add:
    title: "Add Friend"
    permission: "towny.command.resident.friend"
    material: GOLD_NUGGET
    data: 0
    lore:
    - "Adds a friend to your friends list who is currently online."
    arguments:
    <NAME>: "&aWho do you want to add to your friends list?"
    /resident friend remove:
    title: "Remove Friend"
    permission: "towny.command.resident.friend"
    material: GHAST_TEAR
    data: 0
    lore:
    - "Removes a friend from your friends list."
    arguments:
    <NAME>: "&aWho do you want to remove from your friends list?"
    /resident friend clearlist:
    title: "Clear Friends List"
    permission: "towny.command.resident.friend"
    material: PAPER
    data: 0
    lore:
    - "Removes all friends from your friends list."
    /resident list:
    title: "List Residents Online"
    permission: "towny.command.resident.list"
    material: BOOK
    data: 0
    lore:
    - "Lists all residents currently online on the server."
    /resident jail paybail:
    title: "Pay Bail"
    permission: "towny.command.resident.jail"
    material: GOLD_INGOT
    data: 0
    lore:
    - "Pays your bail if you are currently in a town's jail."
    /resident spawn:
    title: "Resident Spawn"
    permission: "towny.command.resident.spawn"
    material: BED
    data: 0
    lore:
    - "Teleport to your bed spawn."
    /resident tax:
    title: "Show Taxes"
    permission: "towny.command.resident.tax"
    material: DIAMOND
    data: 0
    lore:
    - "Shows your current taxes."
    /resident toggle map:
    title: "Toggle Map"
    material: EMPTY_MAP
    data: 0
    lore:
    - "Toggles the Towny map displayed in chat."
    /resident toggle plotborder:
    title: "Toggle Plot Border"
    material: FENCE
    data: 0
    lore:
    - "Toggles black smoke from showing while moving between town blocks."
    /resident toggle townclaim:
    title: "Toggle Claiming"
    material: WOOL
    data: 0
    lore:
    - "Toggles automatic town block claiming on/off."
    # Town Menu Commands
    /town:
    title: "My Town"
    material: PAINTING
    data: 0
    lore:
    - "Displays information on your town."
    /town leave:
    title: "Leave Current Town"
    permission: "towny.command.town.leave"
    material: GHAST_TEAR
    data: 0
    lore:
    - "Removes you from the town you are currently a member of."
    /town list:
    title: "List Towns"
    permission: "towny.command.town.list"
    material: PAPER
    data: 0
    lore:
    - "Lists all towns currently on the server."
    /town online:
    title: "Display Online Town Members"
    material: BOOK
    data: 0
    lore:
    - "Lists all members of the town who are currently online."
    /town new:
    title: "New Town"
    permission: "towny.command.town.new"
    material: NAME_TAG
    data: 0
    lore:
    - "Creates a new town with the specified name."
    arguments:
    <NAME>: "&aWhat would you like to name your town?"
    /town add:
    title: "Add Resident"
    permission: "towny.command.town.add"
    material: FEATHER
    lore:
    - "Invites a resident to the town."
    /town kick:
    title: "Kick Resident"
    permission: "towny.command.town.kick"
    material: STICK
    data: 0
    lore:
    - "Kicks a resident from the town."
    /town spawn:
    title: "Town Spawn"
    permission: "towny.town.spawn.town"
    material: ENDER_PEARL
    data: 0
    lore:
    - "Teleport to the town spawn."
    /town outpost:
    title: "Town Outpost"
    permission: "towny.town.spawn.outpost"
    material: ENDER_PEARL
    data: 0
    lore:
    - "Teleport to the town outpost."
    /town claim:
    title: "Town Claim"
    permission: "towny.command.town.claim.town"
    material: WOOL
    data: 14
    lore:
    - "Claims the current town block you are standing on."
    /town unclaim:
    title: "Town Unclaim"
    permission: "towny.command.town.unclaim"
    material: FENCE
    data: 0
    lore:
    - "Unclaims the current town block you are standing on."
    /town withdraw:
    title: "Town Withdraw"
    permission: "towny.command.town.withdraw"
    material: GOLD_INGOT
    data: 0
    lore:
    - "Withdraw money from the town bank."
    arguments:
    <AMOUNT>: "&aHow much do you want to withdraw from the town bank?"
    /town deposit:
    title: "Town Deposit"
    permission: "towny.command.town.deposit"
    material: GOLD_INGOT
    data: 0
    lore:
    - "Deposit money into the town bank."
    arguments:
    <AMOUNT>: "&aHow much do you want to deposit into the town bank?"
    /town buy bonus:
    title: "Buy Bonus Blocks"
    permission: "towny.command.town.buy"
    material: GRASS
    data: 0
    lore:
    - "Buy bonus town blocks for the town."
    arguments:
    <AMOUNT>: "&aHow many bonus town blocks would you like to purchase?"
    /town ranklist:
    title: "Town Rank List"
    permission: "towny.command.town.ranklist"
    material: BOOK
    data: 0
    lore:
    - "Displays the town's residents and their ranks."
    /town rank:
    title: "Add/Remove Town Rank"
    permission: "towny.command.town.rank.*"
    material: BOOK
    data: 0
    lore:
    - "Add or remove a resident's town rank."
    arguments:
    <ACTION>: "&aWhat action do you want to do? Possible options: {add/remove}"
    <RESIDENT>: "&aWhich resident would you like to change?"
    <RANK>: "&aWhat rank do you want to add/remove?"
    /town reslist:
    title: "List Town Residents"
    permission: "towny.command.town.reslist"
    material: PAPER
    data: 0
    lore: {}
    /town join:
    title: "Join Town"
    permission: "towny.command.town.join"
    material: WOOD_DOOR
    data: 0
    lore:
    - "Join an open town."
    /town delete:
    title: "Delete Town"
    permission: "towny.command.town.delete"
    material: REDSTONE
    data: 0
    lore:
    - "Deletes your town and sets all town blocks to wilderness."
    - "WARNING: POTENTIAL TO CAUSE DAMAGE!"
    /town set board:
    title: "Set Town Board"
    permission: "towny.command.town.set.board"
    material: SIGN
    data: 0
    lore:
    - "Sets your town board message."
    arguments:
    <MSG>: "&aWhat message would you like the town board to display?"
    /town set mayor:
    title: "Set Town Mayor"
    permission: "towny.command.town.set.mayor"
    material: TORCH
    data: 0
    lore:
    - "Sets your town mayor."
    arguments:
    <MSG>: "&aWho do you want to set as your town mayor?"
    /town set homeblock:
    title: "Set Town Homeblock"
    permission: "towny.command.town.set.homeblock"
    material: GRASS
    data: 0
    lore:
    - "Sets the town homeblock and spawn of your town."
    /town set spawn:
    title: "Set Town Spawn"
    permission: "towny.command.town.set.spawn"
    material: ENDER_PEARL
    data: 0
    lore:
    - "Sets the town spawn, must be inside the homeblock."
    /town set name:
    title: "Set Town Name"
    permission: "towny.command.town.set.name"
    material: NAME_TAG
    data: 0
    lore:
    - "Changes your town's name."
    arguments:
    <NAME>: "&aWhat would you like to rename the town to?"
    /town set tag:
    title: "Set Town Tag"
    permission: "towny.command.town.set.tag"
    material: NAME_TAG
    data: 0
    lore:
    - "Changes your town's 4 character tag."
    arguments:
    <TAG>: "What would you like to change the town tag to?"
    /town set outpost:
    title: "Set Town Outpost"
    permission: "towny.command.town.set.outpost"
    material: GRASS
    data: 0
    lore:
    - "Sets a town block as an outpost."
    /town set jail:
    title: "Set Town Jail"
    permission: "towny.command.town.set.jail"
    material: IRON_FENCE
    data: 0
    lore:
    - "Sets town jail spawn."
    /town set taxes:
    title: "Set Town Taxes"
    permission: "towny.command.town.set.taxes"
    material: DIAMOND
    data: 0
    lore:
    - "Sets the daily town tax amount for each resident."
    /town set plottax:
    title: "Set Plot Taxes"
    permission: "towny.command.town.set.plottax"
    material: DIAMOND
    data: 0
    lore:
    - "Sets the amount of tax residents pay daily for each plot."
    /town set shoptax:
    title: "Set Shop Taxes"
    permission: "towny.command.town.set.shoptax"
    material: DIAMOND
    data: 0
    lore:
    - "Sets the amount of tax collected for each shop plot daily."
    /town set embassytax:
    title: "Set Embassy Taxes"
    permission: "towny.command.town.set.embassytax"
    material: DIAMOND
    data: 0
    lore:
    - "Sets the amount of tax collected from each embassy plot daily."
    /town set plotprice:
    title: "Set Plot Price"
    permission: "towny.command.town.set.plotprice"
    material: GOLD_INGOT
    data: 0
    lore:
    - "Sets the default price for town plots."
    /town set shopprice:
    title: "Set Shop Plot Price"
    permission: "towny.command.town.set.shopprice"
    material: GOLD_INGOT
    data: 0
    lore:
    - "Sets the default shop plot price for the town."
    /town set embassyprice:
    title: "Set Embassy Plot Price"
    permission: "towny.command.town.set.embassyprice"
    material: GOLD_INGOT
    data: 0
    lore:
    - "Sets the default embassy plot price for the town."
    /town toggle explosion:
    title: "Toggle Explosions"
    permission: "towny.command.town.toggle.explosion"
    material: TNT
    data: 0
    lore:
    - "Toggles town explosions on or off."
    /town toggle fire:
    title: "Toggle Fires"
    permission: "towny.command.town.toggle.fire"
    material: FLINT_AND_STEEL
    data: 0
    lore:
    - "Toggles town fires on or off."
    /town toggle mobs:
    title: "Toggle Mobs"
    permission: "towny.command.town.toggle.mobs"
    material: SKULL_ITEM
    data: 0
    lore:
    - "Toggles town mobs on or off."
    /town toggle pvp:
    title: "Toggle PvP"
    permission: "towny.command.town.toggle.pvp"
    material: IRON_SWORD
    data: 0
    enchant_glow: true
    lore:
    - "Toggles town pvp on or off."
    /town toggle public:
    title: "Toggle Public Spawning"
    permission: "towny.command.town.toggle.public"
    material: ENDER_PEARL
    data: 0
    lore:
    - "Toggles public town spawning on or off."
    /town toggle taxpercent:
    title: "Toggle Tax Percentage"
    permission: "towny.command.town.toggle.taxpercent"
    material: DIAMOND
    data: 0
    lore:
    - "Toggles town tax between flat rate or percentage."
    /town toggle open:
    title: "Toggle Open Status"
    permission: "towny.command.town.toggle.open"
    material: WOOD_DOOR
    data: 0
    lore:
    - "Toggles the town's join status between open and closed."
    /town toggle jail:
    title: "Toggle Jail"
    permission: "towny.command.town.toggle.jail"
    material: IRON_FENCE
    lore:
    - "Toggles a resident's jail status."
    arguments:
    <NUMBER>: "&aWhat jail number would you like to use?"
    <RESIDENT>: "&aWho do you want to jail?"
    # Nation Menu Commands
    /nation list:
    title: "List Nations"
    permission: "towny.command.nation.list"
    material: PAPER
    data: 0
    lore:
    - "Lists all nations on the server."
    /nation online:
    title: "Display Online Nation Members"
    permission: "towny.command.nation.online"
    material: BOOK
    data: 0
    lore:
    - "Lists all members of the town who are currently online."
    /nation leave:
    title: "Leave Nation"
    permission: "towny.command.nation.leave"
    material: REDSTONE
    data: 0
    lore:
    - "Removes the town from the nation."
    /nation withdraw:
    title: "Nation Withdraw"
    permission: "towny.command.nation.withdraw"
    material: GOLD_INGOT
    data: 0
    lore:
    - "Withdraw money from the nation bank."
    arguments:
    <AMOUNT>: "How much do you want to withdraw from the nation bank?"
    /nation deposit:
    title: "Nation Deposit"
    permission: "towny.command.nation.deposit"
    material: GOLD_INGOT
    data: 0
    lore:
    - "Deposit money into the nation bank."
    arguments:
    <AMOUNT>: "How much do you want to deposit into the nation bank?"
    /nation new:
    title: "New Nation"
    permission: "towny.command.nation.new"
    material: NAME_TAG
    data: 0
    lore:
    - "Creates a new town with the specified name."
    /nation add:
    title: "Invite Town"
    permission: "towny.command.nation.add"
    material: WOOD_DOOR
    data: 0
    lore:
    - "Invites a town to join the nation."
    /nation kick:
    title: "Kick Town"
    permission: "towny.command.nation.kick"
    material: STICK
    data: 0
    lore:
    - "Kicks a town from the nation."
    /nation delete:
    title: "Delete Nation"
    permission: "towny.command.nation.delete"
    material: REDSTONE
    data: 0
    lore:
    - "Deletes your nation and removes all towns."
    - "WARNING: POTENTIAL TO CAUSE DAMAGE!"
    /nation ally add:
    title: "Add Ally"
    permission: "towny.command.nation.ally"
    material: RED_ROSE
    data: 0
    lore:
    - "Forms an alliance with another nation."
    arguments:
    <NATION>: "&aWhich nation would you like to ally with?"
    /nation ally remove:
    title: "Remove Ally"
    permission: "towny.command.nation.ally"
    material: RED_ROSE
    data: 0
    lore:
    - "Cancels an alliance with another nation."
    arguments:
    <NATION>: "&aWhich nation would you like to cancel alliance with?"
    /nation enemy add:
    title: "Add Enemy"
    permission: "towny.command.nation.enemy"
    material: ARROW
    data: 0
    lore:
    - "Add another nation to your enemies list."
    arguments:
    <NATION>: "&aWhich nation would you like to add as an enemy?"
    /nation enemy remove:
    title: "Remove Enemy"
    permission: "towny.command.nation.enemy"
    material: ARROW
    data: 0
    lore:
    - "Add another nation to your enemies list."
    arguments:
    <NATION>: "&aWhich nation would you like to add as an enemy?"
    /nation rank:
    title: "Add/Remove Nation Rank"
    permission: "towny.command.nation.rank.*"
    material: BOOK
    data: 0
    lore:
    - "Add or remove a resident's nation rank."
    arguments:
    <ACTION>: "&aWhat action do you want to do? Possible options: {add/remove}"
    <RESIDENT>: "&aWhich resident would you like to change?"
    <RANK>: "&aWhat rank do you want to add/remove?"
    /nation toggle peaceful:
    title: "Toggle Nation Peace"
    permission: "towny.command.nation.toggle.neutral"
    material: YELLOW_FLOWER
    data: 0
    lore:
    - "Sets whether your nation will pay daily be peaceful."
    - "Peace status will prevent your nation from being"
    - "attacked during Towny war."
    /nation set king:
    title: "Set Nation King"
    permission: "towny.command.nation.set.king"
    material: GOLD_HELMET
    data: 0
    lore:
    - "Sets the nation's king."
    arguments:
    <RESIDENT>: "&aWho would you like to set as the king?"
    /nation set capital:
    title: "Set Nation Capital"
    permission: "towny.command.nation.set.capitol"
    material: WOOD_DOOR
    data: 0
    lore:
    - "Sets the nation's capital."
    arguments:
    <TOWN>: "&aWhat town would you like to set as the capital?"
    /nation set taxes:
    title: "Set Nation Taxes"
    permission: "towny.command.nation.set.taxes"
    material: DIAMOND
    data: 0
    lore:
    - "Sets the tax for towns within the nation."
    arguments:
    <AMOUNT>: "&aHow much would you like to tax towns in the nation?"
    /nation set name:
    title: "Set Nation Name"
    permission: "towny.command.nation.set.name"
    material: NAME_TAG
    data: 0
    lore:
    - "Sets the name of the nation."
    arguments:
    <NAME>: "&aWhat would you like to set the name of the nation to?"
    /nation set title:
    title: "Set Resident Title"
    permission: "towny.command.nation.set.title"
    material: NAME_TAG
    data: 0
    lore:
    - "Sets a resident's title in the nation."
    arguments:
    <RESIDENT>: "&aWho would you like to set the title of?"
    <TITLE>: "&aWhat would you like to set their title to?"
    /nation set surname:
    title: "Set Resident Surname"
    permission: "towny.command.nation.set.surname"
    material: NAME_TAG
    data: 0
    lore:
    - "Sets a resident's surname in the nation."
    arguments:
    <RESIDENT>: "&aWho would you like to set the surname of?"
    <SURNAME>: "&aWhat would you like to set their surname to?"
    /nation set tag:
    title: "Set Nation Tag"
    permission: "towny.command.nation.set.tag"
    material: NAME_TAG
    data: 0
    lore:
    - "Changes your town's 4 character tag."
    arguments:
    <TAG>: "What would you like to change the nation tag to?"


    Installation

    Simply download the latest TownyGUI jar file and drop it in your server's plugins folder, then restart.
    akiraic likes this.

Recent Updates

  1. Fix plugin not enabling

Recent Reviews

  1. Srichard
    Srichard
    5/5,
    Version: 0.17 Fixed
    Great Plugin.
    It will be much better if You can add a tool that when players use this tool ,they can open the TownyGUI. I think that's more comfortable for players.
  2. akiraic
    akiraic
    5/5,
    Version: 0.17 Fixed
    Works flawless for me (using 1.11.2). And the idea of making it free for people is just perfect. Not all of us want to profit when setting up a server, so there is no point paying for it. More people should know about this!
    1. Viariouz
      Author's Response
      Thank you for the review!
  3. Sidias
    Sidias
    5/5,
    Version: 0.17 Fixed
    Perfekt Plugin, but can you hide the Itemflags in the GUI? The GUI looks more professional without this flags. Thx a lot for this amazing Plugin! Good Job.
    1. Viariouz
      Author's Response
      Working on hiding item flags in the next update. Thanks for the suggestion and good review!
  4. Ronnie0982
    Ronnie0982
    3/5,
    Version: 0.17
    Well, at first this plugin sounded like something i needed, but when i tried to load it.
    I got an error, no idea what it is, can you help me

    [16:41:41 ERROR]: Could not load 'plugins\TownyGUI.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: main class `com.andrewyunt.townygui.TownyGUI' does not extend JavaPlugin
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:73) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at org.bukkit.craftbukkit.v1_11_R1.CraftServer.loadPlugins(CraftServer.java:300) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:204) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:542) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_60]
    Caused by: java.lang.ClassCastException: class com.andrewyunt.townygui.TownyGUI
    at java.lang.Class.asSubclass(Unknown Source) ~[?:1.8.0_60]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:71) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    ... 7 more

    Best regards:

    Ronnie
    1. Viariouz
      Author's Response
      Problem solved in the latest version, it was a mistake made while I was compiling the plugin.