[Discontinued] Polis [v2.7.0]

Why did it take me so long to find this plugin! I read the first line and say “town” and I loved it already! ive been looking for a mod to replace Towny, since it apparently wont be ported to sponge anymore, And YOU MADE ONE! Thank you! Ill probably ask for a few features later. Thanks!

What about interacting/talking to Npcs?

Same way as described above. You add the entity as usable.

I have tried everything I know to try but I can’t get the pixelmon items to work when using /polis addusable. It will let me use the NPC healer “nursejoy” but I can’t set the actual item. I have tested this with regular minecraft items and they work fine. The pixelmon item PC and Trade machine doesn’t work either. Please help me!

You are trying to use the wrong ID. If you’re using EssentialCmds, use /entityinfo or /blockinfo (I don’t remember which for the Healer) and add them as usable.

Having some issues here. Im currently starting a server and all commands seem to work fine except claiming ones… When I do /polis claim says “Error occurred while executing command: null”
And autoclaim doesnt seem to do anything at all! Could really use help because i can’t find any other plugin for this and I need my players areas protected! I Get this on console

07.03 15:10:46 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
07.03 15:10:46 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:478) [MinecraftServer.class:?]
07.03 15:10:46 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:598) [MinecraftServer.class:?]
07.03 15:10:46 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:364) [po.class:?]
07.03 15:10:46 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:656) [MinecraftServer.class:?]
07.03 15:10:46 [Server] INFO at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:714) [FMLCommonHandler.class:?]
07.03 15:10:46 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_66]
07.03 15:10:46 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_66]
07.03 15:10:46 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [ih.class:?]
07.03 15:10:46 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.onProcessPacket(SourceFile:51) [ih.class:?]
07.03 15:10:46 [Server] INFO at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:106) [PacketUtil.class:1.8-1577-3.1.0-BETA-1045]
07.03 15:10:46 [Server] INFO at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:9) [lu.class:?]
07.03 15:10:46 [Server] INFO at net.minecraft.network.play.client.C01PacketChatMessage.func_180757_a(SourceFile:37) [lu.class:?]
07.03 15:10:46 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:791) [rj.class:?]
07.03 15:10:46 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:812) [rj.class:?]
07.03 15:10:46 [Server] INFO at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:83) [cl.class:?]
07.03 15:10:46 [Server] INFO at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:252) [SpongeCommandManager.class:1.8-1577-3.1.0-BETA-1045]
07.03 15:10:46 [Server] INFO at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:331) ~[SimpleDispatcher.class:1.8-1577-3.1.0-BETA-1045]
07.03 15:10:46 [Server] INFO at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:332) ~[CommandSpec.class:1.8-1577-3.1.0-BETA-1045]
07.03 15:10:46 [Server] INFO at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:177) ~[ChildCommandElementExecutor.class:1.8-1577-3.1.0-BETA-1045]
07.03 15:10:46 [Server] INFO at io.github.hsyyid.polis.cmdexecutors.PolisClaimExecutor.execute(PolisClaimExecutor.java:45) ~[PolisClaimExecutor.class:2.2]
07.03 15:10:46 [Server] INFO java.lang.NullPointerException
07.03 15:10:46 [Server] Server thread/ERROR [Sponge]: Error occurred while executing command ‘polis claim’ for source EntityPlayerMP[‘Lopes122’/185669, l=‘GarysMonv1_0’, x=777.06, y=66.00, z=-181.59]: null

Do you have an EconomyPlugin installed? If you do not have an EconomyPlugin installed that is compatible with the EconomyAPI, this plugin will NOT work.

This will be configurable in the future, but not currently.

Thank you so much. Also is there any ETA on when the next update will be coming out?

No not really, as I am pretty busy, but you can expect it by Saturday.

I dont because I really dont want claim to be “paid” :s Can you suggest good economy plugins that will make it work fine? If possible one that I can “turn off” while enabling Polis to work? Because I really just want people to be able to claim and build with safety :confused: Thanks for the answer

To make it basically turned off, just set the claim cost to 0 in the config. TotalEconomy and EconomyLite are both commonly used Economy plugins that work fine with this plugin.

Thank you so much! Fastest support ever! By the way any suggested permissions plugin for sponge? PEX is a bit complicated for me. I was used to groupmanager

@Lopes_Oo I have always used pex, but when I started working with sponge I was completely lost. This guide helped me learn pex within a day and it works amazing for what I need it to. This is the guide I used

1 Like

PEX is the most used, and is pretty well done. Once you get the hang of it, you should be fine. There are plenty of tutorials people have made for the Sponge version, and you can probably get support easily from the thread.

Could I maybe add you on skype and you would give me a hand?

Polis is working now ^^ Just to make sure only only people inside the polis who claimed can access chests, doors etc… right?

That is correct.

Really think you should work on a Wiki ^^ I think its a good mod but with low info

Release v2.3:

Tested on SpongeForge 1188

Changes:

  • Updated to API 4.0

Enjoy this Release! :smile:

When a player on my server is building im spammed with “Error! This land is claimed.” Why?! Its really annoying and fills my chat!