Kingdoms 2
What is Kingdoms 2?
Kingdoms 2 is a chunk based town-nation hierarchy very loosely based on Towny.This plugin has been running on our server since December of 2011. One of the major reasons we were pushed to create this system is at that time Towny was very very unstable and unreliable and we had to do a lot to patch it up, as well as it was lacking MySQL support. We then created this plugin to fill those holes as well as put our own spin on the plugin.
Beta release is now available in the downloads section!. Please forward any issues over to me view the github ticket system. Thank you!
But what happened to Kingdoms 1?
Kingdoms 1 was my first attempt at the town-nation hierarchy and it used WorldGuard for its protection system instead of creating our own (Hense why our API has WorldGuard/WorldEdit sections dedicated to it). At the time we thought this was very beneficial as we wouldn't have to maintain that aspect of the plugin and could do bigger things. It was a good idea, but from it came a large list of bugs. So recently I decided to develop up Kingdoms 2 to fix those issues.
If you would like to take a look at this plugin before installing you can check out our server @mc.imdeity.com and type /hub to go to the hub where we are testing it atm
Features
- MySQL!
- DeityProtect backing it up!
- Town/Kingdom permission system
- Built in friend system
- Town's senior assistants can replace the mayor with a town vote
- Town borders so that other towns cannot expand towards yours
- Kingdom border so that any town cannot be created within your land unless the king allows it.
- Tax system!
- Players manage their land the way they want with control over who can build/destroy/use items/walk on their plots
- If a town belongs to a Kingdom, residents can claim plots in multiple towns within the kingdom!
- Town/Kingdom Chat system (for use with DeityChat)
- Multi-world support
- Towns can create their own Pvp Arenas!
Requirements
- DeityAPI (With a valid MySQL connection)
- DeityProtect
- A brain
Long list of commands
Note: All of these commands are currently implemented successfully on the ImDeity Kingdoms Minecraft Server. Also note that there is in-game help files for all these commands with the use of DeityAPI so you can /<command> help <page-number>
Resident Commands
- /resident info <player-name> <-o>: This command will show your or 'player-name''s status. It is equivalent to the /resident [player-name] command in the current kingdoms- Requires kingdoms.resident.info
- /resident add-friend [player-name]: This command will add a resident to your friends list. This is mostly if you decide to use the F permission- Requires kingdoms.resident.add-friend
- /resident remove-friend [player-name]: This command will remove a resident from your friend list. This is mostly if you decide to use the F permission- Requires kingdoms.resident.remove-friend
- /resident set gender [male/female]: This will change your gender in the game. Used for user titles- Requires kingdoms.resident.set
- /resident set permissions edit [P/F/T/K/TS/KS]: See the permissions section below. Default is TS- Requires kingdoms.resident.set
- /resident set permissions use [P/F/T/K/TS/KS]: See the permissions section below. Default is TS- Requires kingdoms.resident.set
- /resident set permissions access [P/F/T/K/TS/KS]: See the permissions section below. Default is T- Requires kingdoms.resident.set
Town Commands
- /town list: This will list all current towns- Requires kingdoms.town.list
- /town info <town-name> <-o>: This will show a town's status- Requires kingdoms.town.info
- /town create [town-name]: This will create a new town with you as the mayor.- Requires kingdoms.town.create Note that you must abide by distance restrictions now, and may be required to move farther away from towns
- /town chat <message>: This will allow you to chat with your town- Requires kingdoms.town.chat
- /town delete: This will remove your town- Requires kingdoms.town.delete
- /town claim: This will claim a new town plot. Note that the same restrictions apply for this as the town create command- Requires kingdoms.town.claim
- /town unclaim: This command will unclaim the town plot you are currently standing on- Requires kingdoms.town.unclaim
- /town add [player-name]: This will add a resident to your town pending that they are online- Requires kingdoms.town.add
- /town kick [player-name]: This will kick a resident from your town- Requires kingdoms.town.kick
- /town set town-board [message]: This will change your town board- Requires kingdoms.town.set
- /town set plot-price [amount]: This will change the default plot price of the town- Requires kingdoms.town.set
- /town set spawn: This will change the town spawn location. Note that the spawn has to be located on an unclaimed plot- Requires kingdoms.town.set
- /town set public [on-off]: This will restrict the town to towns-members only- Requires kingdoms.town.set
- /town set permissions edit [P/F/T/K/TS/KS]: See the permissions section below. Default is T- Requires kingdoms.town.set
- /town set permissions use [P/F/T/K/TS/KS]: See the permissions section below. Default is T- Requires kingdoms.town.set
- /town set permissions access [P/F/T/K/TS/KS]: See the permissions section below. Default is P- Requires kingdoms.town.set
- /town spawn <town-name>: This will teleport you to the towns spawn- Requires kingdoms.town.spawn
- /town leave: This will remove you from the town- Requires kingdoms.town.leave
- /town deposit <town> [amount]: This will deposit money into the town- Requires kingdoms.town.deposit
- /town withdraw [amount]: This will withdraw money from the town pending on you being senior assistant+- Requires kingdoms.town.withdraw
- /town promote [player-name]: This will move 'player-name' up to the next rank. Note you set the new mayor by promoting a senior assistant- Requires kingdoms.town.promote
- /town demote [player-name]: This will move 'player-name' down to the next rank- Requires kingdoms.town.demote
- /town vote create: This command is not yet implemented. This will create an assistant vote for a new mayor- Requires kingdoms.town.vote
- /town vote [assistant-name]: This command is not yet implemented. This will cast your vote for the assistant. Note only assistants will be able to vote- Requires kingdoms.town.vote
- /town vote check: This command is not yet implemented. This will show the status of the current vote- Requires kingdoms.town.vote
- /town warp list: This command will give a list of town warps- Requires kingdoms.town.warp.list
- /town warp [warp-name]: This command will warp you to a warp, for a price- Requires kingdoms.town.warp.use
- /town warp add [warp-name]: This command will add a town warp, for a configurable price (Assistant+)- Requires kingdoms.town.warp.add
- /town warp remove [warp-name]: This command will remove a town warp (Assistant+)- Requires kingdoms.town.warp.remove
Plot Commands
- /plot claim: If the plot is for-sale, this command will claim the plot for you- Requires kingdoms.plot.claim
- /plot unclaim: This will unclaim your plot, or if you are a helper+ it will unclaim the plot you are standing on- Requires kingdoms.plot.unclaim
- /plot set for-sale <price>: This will set the plot for sale for either the default town price or the specified price. Note: This is an assistant+ command- Requires kingdoms.plot.set
- /plot set not-for-sale: This will remove the plot from buyers. Note: This is an assistant+ command- Requires kingdoms.plot.set
- /plot set mob-spawning [allow/deny]: This will either allow or deny mob spawning on a plot. Note: This is an assistant+ command- Requires kingdoms.plot.set
- /plot set pvp [allow/deny]: This will either allow or deny pvp on a plot. Note: This is an assistant+ command- Requires kingdoms.plot.set
- /plot set explode [allow/deny]: This will either allow or deny explosions on a plot. Note: This is an assistant+ command- Requires kingdoms.plot.set
Kingdom Commands
- /kingdom list: This command will list all kingdoms- Requires kingdoms.kingdom.list
- /kingdom info <kingdom-name>: This will show the kingdoms status- Requires kingdoms.kingdom.info
- /kingdom create [kingdom-name]: This will create a kingdom. Note that a distance check is in place as with the towns- Requires kingdoms.kingdom.create
- /kingdom chat <message>: This will allow you to chat with your kingdom- Requires kingdoms.kingdom.chat
- /kingdom remove [town-name]: This will remove 'town-name' from your kingdom- Requires kingdoms.kingdom.remove
- /kingdom leave: This will remove your town from the kingdom provided that you are not the king- Requires kingdoms.kingdom.leave
- /kingdom withdraw [amount]: This will take money out of the kingdom bank. Note this is a king only command- Requires kingdoms.kingdom.withdraw
- /kingdom deposit <kingdom-name> [amount]: This will add money to a kingdom- Requires kingdoms.kingdom.deposit
- /kingdom request list: This is for the king only to accept /deny requests- Requires kingdoms.kingdom.request
- /kingdom request accept [request-id]: This is for the king only, to accept requests to join his kingdom- Requires kingdoms.kingdom.request
- /kingdom request deny [request-id]: This is for the king only, to deny requests to join his kingdom- Requires kingdoms.kingdom.request
- /kingdom request join [kingdom-name]: This is for towns or prospective towns to join a kingdom- Requires kingdoms.kingdom.request When a king accepts a request, if that user does not have the town it will give them a permit to make a town in the kingdoms land (atm 1000 blocks away from any kingdom land). When the user creates their town it will automatically be assigned to the kingdom that accepted them. If the user does have a town already it will simply add their town to the kingdom. If you are denied then you will either have to walk farther away from the kingdom in order to make your town, or find another kingdom to join.
Kingdoms Command
- /kingdoms info: Gives some information about the plugin and the kingdoms/towns/residents- Requires kingdoms.kingdoms.info
- /kingdoms prices: List town/kingdom related prices- Requires kingdoms.kingdoms.prices
- /kingdoms map <on/off>: Turns on a map for you to see where towns are relative to you- Requires kingdoms.kingdoms.map Note that this map's top (highest up chat line) is in the direction you are facing, use the compass on the right if you are confused
Possible Ranks
- The King: He is the top dog, He owns all towns and has control over everything within his kingdom
- The Mayor: He is the top of the bunch, He owns the town and has access to all town permissions
- The Senior Assistant: He is the second in charge, He is there to take a bullet for the mayor or take over in his absence, he also has access to all town permissions
- The Assistant: He may not be the top dog, but he is a trusted member. He has access to edit plot permissions with the /plot set and /plot un-claim commands
Town/Resident Permissions
There are several different permission types/groups and i will outline them below
Permission Types
- Edit: This permission will give users both block breaking and placing access
- Use: This permission will give users the ability to toggle redstone as well as place items such as boats and minecarts
- Access: This permission will allow a user to walk on your chunk. If they somehow teleport onto a restricted chunk, the permission will kick in when they step off your land.
Permission Groups
- Public [P]: This is the lowest form of group, Anyone has access to the permission type
- Friend [F]: This is applicable for resident plots. Only your friends will have access to the permission type
- Town [T]: Only the town's members will have access to the permission type
- Kingdom [K]: Only the kingdom's members will have access to the permission type
- TownStaff [TS]: Only the town's staff will have access to the permission type
- KingdomStaff [KS]: Only the kingdom's staff will have access to the permission type
Is this plugin up to date?
Where can i get a version working for 1.4.7? Is there one!?
Could someone please pm me with an updated build or at least update it publicly i mean this is a much better plugin than towny i just need it to be updated to use it.
Is this working on 1.4.4 or 1.4.5 dev builds? When i do /t /k /town /kingdom /help kingdoms-2 and /help kingdoms in get nothing, no permissions message or output in any way.
Whats happening with http://dev.bukkit.org/server-mods/metropoli/ ? Also the github for Kingdoms 2 is gone. Could that please be readded?
@vanZeben
I got the 403 forbidden error... It says the project was deleted.
Hi. What is the new kingdoms?
@Rmarmorstein
This actually sparked an idea, Myself and another plugin developer will be working on a new plugin to help solve this... Please check this for more information
Suggestion, It would be nice to be able to set permissions per plot also. like bypassing the main settings you have. This would make it a lot easier in some certain cases. Thanks!
(sorry if i posted this in the wrong spot)
@Sarge22234
It's not that im replacing WorldGuard, you misunderstand me. This plugin can run in conjunction with WorldGuard. What i was meaning by not using WorldGuard is my original version of Kingdoms didn't store its own plot information and instead was more of a town interface on-top of WorldGuard regions. Now it uses it's own system instead of that for town protections, however WorldGuard can still be used in the world
As for the dependencies, I made these plugins modular in that instead of releasing one plugin that does a bunch of different things, i released a few that do specific things. That way other developers can build on top of the pre-existing library instead of having to create their own...
As for the other posts regarding "null" messages, check console. It should be telling you that DeityAPI is set up incorrectly and hence the null messages
I thought that this was the greatest thing until I saw that you have to have 2 other plugins that i don't need just to run this single plugin. I strongly recommend making this plugin without dependency's. If you have to just take the necessary parts of the other plugins and put it into this one.
The fact that you need to replace world guard alone will be driving 95% of people who were planning to get this. World guard Is a plugin that just about every server needs.
In help chat, when I do /town, it shows "/town null" any help? Craftbukkit 1.3.2, latest version, PEX
Town borders do not work properly.
Town border : 30 Kingdom border : 200
If I make a town and someone else makes a town near me it works fine. They are the chunk touching my chunk. Then if I make a kingdom it still allows me (using my town as capital). If they do the same they can also make a kingdom with their adjacent town being the capital. If either of us at this point claim chunks it will not let us because we are so close.
Assuming it should be checking for borders before you are allowed to create the towns or kingdoms!
now whenever I type /help Kingdoms-2, all I get is null next to the commands. If I try to type /help <command> nothing happens. I've installed and uninstalled this plugin several times now. Are there any plans by the developers to check this thread and actually answer some of the questions here? At first I thought this was a great plugin, but the lack of any support from the staff is making me rethink my initial assessment...
Edit: I removed Essentials from my plugin list and was able to get the help commands to work again. Reinstalled essentials, and all I get now are null errors again. I added essentials.help.Kingdoms-2 to my permissions, so not sure why I'm having this error.
does this plugin have any pvp elements in it? can a town attack another town?
Whenever I try to use a command, it says "You entered an invalid sub-command"
Help please?
I tried to make a kingdom in my server, but when I did /k, It did nothing, and was just blank. Also, it still says the plugin is there, but the commands arent working. I use creeper host by the way, if that helps
@aphilosopher
I deleted all three jars and folders, but I also had to delete and reinstall mysql and delete and recreate the kingdoms database for the error to go away. Short story though, it's gone. :D Also, Goldismoney works perfectly with kingdoms now so I'm happy about that. Now, if the devs could just get the /plot set pvp/explode/mob-spawning allow/deny commands to work. Or if they'd even reply to the forum regarding it...that'd make my day.
@KhirsahFireflash
correct also their respective folders
@aphilosopher
you're referring to kingdoms, deityapi, and deityprotect jars, correct?