[Discontinued] Polis [v2.7.0]

Polis


This plugin features Towns, where players can join forces on your server and groups of people can compete against each other. Towns can have an hq, executives, a leader, enemies, and allies. This plugin also features the ability to claim land for your Town, meaning only your Town members have the ability to edit your claimed land. In addition, this plugin enables server admin’s to have SafeZones which are designed for buildings such as spawns - where admins wish to have player’s free from PvP and “griefing”, furthermore in these SafeZone’s admins have the ability to specify blocks for which player’s can and cannot interact with. An economy plugin is required to be installed for this plugin to work properly.

Downloads

You can head over to the GitHub page to grab the latest build of Polis here.

GitHub Repository

If you’d like to check out the code, you can do so here.

Commands

/polis - Main command of plugin, it will return the version installed.
/polis join <town name> - Attempts to join the specified town if you have an invite
/polis sethq - Sets your Town's Headquarters.
/polis hq - Teleports to your Town's HQ (if set)
/polis invite | /invite <player> - Invites player to your town.
/polis addenemy <town name> - Sets the specified town as an enemy to your own.
/polis kick <player> - Kicks this player from your town.
/polis addally <town name> - Adds town as an ally.
/polis leave - Leaves your town.
/polis claim - Claims the chunk you are in.
/polis delete <town name> - Deletes specified town.
/polis disband - Disbands your town if you are the leader of it.
/polis info <town name> - Displays info about town.
/polis list - Lists all towns.
/polis create <town name> - Adds new town.
/polis setleader <player> <town name> - Sets leader of specified town.
/polis addexecutive <player> - Adds player as an executive of your town.
/polis removeexecutive <player> - Removes specified player from executive rank. 
/polis removeenemy <town name> - Removes the specified town as an enemy.
/polis removeally <town name> - Removes the specified town as an ally.
/polis unclaim - Unclaims the chunk you are standing in.
/polis unclaimall - Unclaims all chunks claimed by this town.
/polis adminclaim <zone> - Claims the chunk you're in as specified zone.
/polis adminunclaim <zone> - Unclaims the chunk you're in from specified zone.
/polis addusable <id> - Adds specified id as interactable in zones [Block or Entity].
/polis removeusable <id> - Removes specified id from being interactable in SafeZones.
/polis autoclaim - Toggles autoclaim. When activated it will claim any chunk you walk into.
/polis adminautoclaim <zone> - Toggles admin autoclaim. When activated it will claim chunks as
specified zone if not claimed.
/polis help - Polis help command
/polis toggleadminbypass - Toggles admin-bypass mode on or off, giving you the ability
to edit any area - even if it is claimed.
/polis toggletax <toggle> - Enables/disables taxes in your Polis. Can only be toggled by leader.
/polis settax <tax> - Sets the tax amount, set by leader.
/polis settaxinterval <duration> - Sets the interval between taxes (applies even if 
members are offline) - Duration is written in HH:mm:ss format.
/polis deposit <amount> - Deposits amount into your Polis bank.
/polis withdraw <amount> - Withdraws amount from Polis bank.
/polis map - Shows a text map to see your claims, as well as the claims nearby.
/polis chat - Toggles chatting only to the people in your Polis.
/polis rename <name> - Renames your Polis to specified name.
/zonemobs <zone> - Lists all mobs blocked in specified Zone.
/addzonemob <zone> <mob> - Adds mob as blocked in specified Zone.
/remzonemob <zone> <mob> - Removes mob from being blocked in specified Zone.
/polis allowblock - Polis leaders can use this command then right click any block in
their claim to toggle the blocks "right-clickability" by members of other teams.
/polis player <player> - View info about specified player - what Polis they're in, etc.

Permissions

polis.use
polis.join
polis.hq.set
polis.hq.use
polis.invite
polis.enemy.add
polis.kick.use
polis.ally.add
polis.leave
polis.claim.use
polis.delete
polis.disband
polis.info
polis.list
polis.add
polis.leader.set
polis.executive.add
polis.executive.remove
polis.enemy.remove
polis.ally.remove
polis.unclaim.use
polis.unclaim.all
polis.claim.admin.modify - Gives player permission to modify SafeZones.
polis.claim.admin
polis.unclaim.admin
polis.safezone.addusable
polis.safezone.removeusable
polis.autoclaim
polis.autoclaim.admin
polis.help
polis.adminbypass.toggle
polis.taxes.toggle
polis.taxes.set
polis.taxes.interval.set
polis.deposit.use
polis.withdraw.use
polis.map.use
polis.chat.use
polis.rename
polis.zonemobs.list
polis.zonemobs.add
polis.zonemobs.delete
polis.allowblock.use
polis.player

Support Me

If you’d like to support me, you can do so here.

8 Likes

Unless you have permission from the original dev of Towny, I would suggest changing the name so as to avoid any potential confusion.

3 Likes

Planning to change name to Polis, after a discussion in IRC. Thanks for your advice.

EDIT: Done.

1 Like

My minecraft serveur crash,
My crash Report:

Description: Exception in server tick loop

java.lang.IllegalArgumentException: Multiple entries with same key: Polis=SpongePlugin:Polis{0.2} and Polis=SpongePlugin:Polis{0.2}
at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:150)
at com.google.common.collect.RegularImmutableMap.checkNoConflictInBucket(RegularImmutableMap.java:104)
at com.google.common.collect.RegularImmutableMap.(RegularImmutableMap.java:70)
at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:254)
at com.google.common.collect.Maps.uniqueIndex(Maps.java:1166)
at com.google.common.collect.Maps.uniqueIndex(Maps.java:1140)
at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:360)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:483)
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87)
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:355)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)
at java.lang.Thread.run(Unknown Source)

A detailed walkthrough of the error, its code path and all known details is as follows:

Looking into the issue right now.

Thanks a lot :smile:

Redownload the JAR please.

The plugin works :smile:

1 Like

You have no Towns, but I’ll be fixing that error soon. :slight_smile:

what is the command for create a town ?

Sorry, forgot to include it in the post by accident! :blush:

Ok thank you :smile:

Could you please use a service like http://pastebin.com/ in the future instead of pasting your log directly? Thank you in advance :slight_smile: Took me like 5 minutes to scroll past your post :stuck_out_tongue:

1 Like

Ok, sorry I forgot to use pastebin :smile:

1 Like

No need to be sorry, just a friendly reminder :wink:
There’s no note on the forums stating you should use it either, so everythings fine :smile:

1 Like

I have some ideas for your plugin:

-Can you add a cooldown (can set in a config file) for the /hq?
-Can you add the possibility to limit the number of claim (or a system of power)?
-Can you add the possibility to make a description of town?
-to finish the possibility to see claimed chunks (like faction map (/f map) )

And thank you again to answer me so fast :smile:

Thanks for the ideas! I’ll start working on it.

Okay, thank you, iI’ll think of other ideas to add :smile:

We can create another town when we have already, can you fix that?

Yep. Thanks for letting me know.