🛡 [Anti-Grief|General Protection] RedProtect Universal (All APIs Compatible)

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.

I no longer can click on a list of claims to teleport to them

Your plugin cannot protect a world entire ?
Thanks !

You know that is far from the truth right?
Thats the earliest version pixelmon can use, you can always update to the latest 1.8.9 forge version. Don’t know why people think they need to stay only at that version.

Cant use /rp flag deny-cmds with any command added at all
Just keeps saying Usage: /rp flag deny-cmds <cmd1, cmd2, …>

What version of RedProtect and Sponge? Have you checked your configs if the hover and click to tp is enabled?

Yes, can. What you mean with “Entire world”?

Are you using /rp deny-cmds cmd: arg: (arg optional)? Maybe the lang file is outdated and shows the old flag command format.

Nope was just trying something like
/rp deny-cmds claim,back

smething like that.

Add cmd: or arg:. Now this flag support deny commands and argumments. Then your flag will be like:

/rp flag deny-cmds cmd:claim, cmd:back

The argumment support is for commands like this:

/rp flag deny-cmds cmd:tpa arg:FabioZumbi12

This will deny the tpa command only if the argumment is FabioZumbi12 :wink:

1 Like

Hi again i explain what i want exactly :

I want to claim ALL the region in world (like worlguard “global region” ) and in this region user quand claim and build only in their claim.

You think its possible ?
If you dont understand say me ! ^^

Oh i mean, like the global of WorldGuard?

If i mean what you need, with Redprotect you dont need to create a global region, you can change the global settings on globalflags.conf(inside redprotect conf folder) for each world. In other words, like global region from worldguard.

But, if you mean dont allow players to build on wirlderness and only inside specific region, this will be implemented like some suggestions on redProtect’s GitHub.

1 Like

So i can set config to :
Deny player to build /break / use (etc flags) in the world AND if player have “claim” he can do everything in ?

I tried to do:
/rp flag deny-cmds cmd:polis arg:claim to prevent claiming in a region but it doesn’t seem to block it