šŸ›” [Anti-Grief|General Protection] RedProtect Universal (All APIs Compatible)

With some changes and some tests, RedProtect works on 1.8.9 and 1.9.4.


Version 1.8.9 requeriments:

- Requires JAVA 8
- Forge: 1.8.9 - 11.15.1.1902+
- Sponge: 1.8.9 | API: 4.1.0-BETA+ | Build: 1395+


Version 1.9.4 requeriments:

- Requires JAVA 8
- Forge: 1.9.4 - 12.17.0.1957+
- Sponge: 1.9.4-1954 | API: 5.0.0-BETA | Build: 1418+

:x: Important Issue: All Player Move and Teleport events is not working!

Iā€™m not able to allow players access to chests or utilities for some reason within the region. even with the proper flags like chest, etc. It tells them they donā€™t have my permission.

is there a way to make a claim and transfer it to another player? eg. so that the claim belongs to them and it uses up their claim limit

Also, could you please add an /rp ev command permission that lets you to expand you claim verically, but only your claim and no one elseā€™s. :smiley:

Is there a version of RedProtect that can be used with SpongeForge 1136? Iā€™m attempting to run a Pixelmon server and I would really love to use this plugin.

Hello. Already have the command to give a player the region, is /rp ao or /rp addowner, and you can give give the perm redprotect.own.expand-vert to let player to use /rp expand-vert on own regions, if was created using wand tool, anyway, test because i dont know if i have ported this to sponge version(cant look into code now).

Why not update to latest? I think dont work because recent changes on Sponge API.

Pixelmon is still on 1.8.9, which uses Forge 1722. SpongeForge1136 is the latest build of Sponge that uses 1722, so Iā€™m basically stuck on an older version of Sponge until Pixelmon updates.

Nono, you can update your forge to latest versions:

  • Forge: 1.8.9 - 11.15.1.1902+
  • Sponge: 1.8.9 | API: 4.1.0-BETA+ | Build: 1395+

Your Pixelmon will work on this versions! I have a server running this verisons with Pixelmon and RedProtect.

Thank you for your reply :slight_smile:

I have tested and the redprotect.own.expand-vert permission doesnā€™t let users use the /rp ev command at all

I am home and uploaded a version with perms redprotect.own.expandvert to allow player to use /rp ev on own regions :wink: (Test please)

#Changes:

  • Added permission redprotect.own.expandvert, redprotect.own.setminy and redprotect.own.setmaxy to allow player to configure their y region sizes (if auto expand vert is disabled on config).

Version 1.8.9 requeriments:

- Requires JAVA 8
- Forge: 1.8.9 - 11.15.1.1902+
- Sponge: 1.8.9 | API: 4.1.0-BETA+ | Build: 1395+


Version 1.9.4 requeriments:

- Requires JAVA 8
- Forge: 1.9.4 - 12.17.0.1957+
- Sponge: 1.9.4-1954 | API: 5.0.0-BETA | Build: 1418+

:x: Important Issue: All Player Move and Teleport events is not working!

Im using forge 1902 and sponge 1402. None of the claims are protected. Everyone can break everything.

EDIT: Fixed with spongeforge-1.8.9-1890-4.2.0-BETA-1421 :smiley:

Using Sponge:
spongeforge-1.9.4-1965-5.0.0-BETA-1460
With Forge:
forge-1.9.4-12.17.0.1965

No protection works. All blocks can be broken. Anything can be placed. You still get the message you canā€™t, but it doesnā€™t stop it.

Is there a 1.9.4 version of these we know for sure works?

Errors on console?
I will check if theres problen on latest versions.
Someone with same problens?

Iā€™m not getting errors client side. The server is showing some errors, but only to /rp info not being able to determine a user. Copied below. The only mods running on the server are sponge and RP. Nothing else.

[Sponge]: Error occurred while executing command ā€˜rp infoā€™ for source EntityPlayerMP[ā€˜railcsdatā€™/9441, l=ā€˜Minecraft_Lifeā€™, x=530.55, y=70.00, z=285.32]: Invalid username e4a4d5b0-6977-47f3-910e-72f3445834d7
java.lang.IllegalArgumentException: Invalid username e4a4d5b0-6977-47f3-910e-72f3445834d7
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:148) ~[minecraft_server.1.9.4.jar:?]
at org.spongepowered.common.service.user.SpongeUserStorageService.get(SpongeUserStorageService.java:54) ~[SpongeUserStorageService.class:1.9.4-1965-5.0.0-BETA-1460]
at br.net.fabiozumbi12.redprotect.RPUtil.getUser(RPUtil.java:405) ~[RPUtil.class:?]
at br.net.fabiozumbi12.redprotect.Region.info(Region.java:289) ~[Region.class:?]
at br.net.fabiozumbi12.redprotect.listeners.RPCommands.handleInfoTop(RPCommands.java:1593) ~[RPCommands.class:?]
at br.net.fabiozumbi12.redprotect.listeners.RPCommands.process(RPCommands.java:1317) ~[RPCommands.class:?]
at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333) ~[SimpleDispatcher.class:1.9.4-1965-5.0.0-BETA-1460]
at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:264) [SpongeCommandManager.class:1.9.4-1965-5.0.0-BETA-1460]
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:82) [bd.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:915) [mc.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:894) [mc.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [ik.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [ik.class:?]
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:121) [PacketUtil.class:1.9.4-1965-5.0.0-BETA-1460]
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$0(SourceFile:39) [fj$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [fj$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_91]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_91]
at net.minecraft.util.Util.func_181617_a(SourceFile:45) [h.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:666) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:385) [lb.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:611) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:469) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_91].

This is also with no client mods. Just to note that. Just the same forge version as the server being run for the client.

The client chat shows the text: ā€œYou canā€™t build here!ā€ But the client launcher shows no errors and the log shows no mention of anything that has to do with RP.

#Changes:

  • Added two-way conversion for online mode>offline mode;
  • Fixed rp info command error;

Version 1.8.9 requeriments:

- Requires JAVA 8
- Forge: 1.8.9 - 11.15.1.1902+
- Sponge: 1.8.9 | API: 4.2.0-BETA+ | Build: 1421+


Version 1.9.4 requeriments:

- Requires JAVA 8
- Forge: 1.9.4 - 12.17.0.1957+
- Sponge: 1.9.4-1954 | API: 5.0.0-BETA | Build: 1418+

:x: Important Issue: All Player Move and Teleport events is not working!

Thanks.

This also solved the problem of being able to place or break blocks by other users. Iā€™m guessing by resolving the zone ownership issue that was also a problem for the info command.

Removed the other post as to not cause confusion about the newest version of sponge. As sponge and forge not working together is a known issue on version 1483.

RP isnā€™t allowing certain block protections on sponge 1476.

Grass, dirt, and cobblestone can be broken while giving the chat message that itā€™s not allowed. No items drop for these broken blocks. Anything can be placed with the same chat warning.

Beds canā€™t be broken, and doors and furnaces and tables canā€™t be used. Some block types and flags are working.

The issue has been fixed in the latest SpongeForge 1.9.4 build.