Coder Social home page Coder Social logo

vik1395 / protectionstones-minecraft Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 17.0 10.34 MB

[Minecraft] A useful Grief prevention plugin that uses a certain block to protect regions.

Home Page: https://www.spigotmc.org/resources/protectionstones.10096/

License: Apache License 2.0

Java 100.00%

protectionstones-minecraft's People

Contributors

addstar avatar chick4nnn avatar dragoboss avatar dylanpdx avatar espidev avatar jerzean avatar mikroskeem avatar vik1395 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

protectionstones-minecraft's Issues

Extra Stones not working

Added in a sponge as my first stone and works perfect (well with some issues that we fixed)
Now I'm trying to add in 3 more stones, one of them being bedrock. But its not registering when I place the new blocks as a region.

No errors in console, no messages in chat.
Server is 1.12.1

Fly flag bug

The player on my server found bug with fly on cuboid with anti-logout.
I will describe it in the steps below:

  1. Place cuboid
  2. Turn on Fly flag on cuboid
  3. Delete cuboid by commad or hand.
  4. Get attacked by player
  5. Wait until the anti-logout is over
  6. Place cuboid again.
  7. Get fly bug(work on all world, not only for cuboid)

Contact with me on discord:
QuestionCatcher#9876

EDIT1:This bug was confirmed by ppl from the admin team so this player didn't have any cheats etc.

Worlds denied - Error

Worlds Denied:
- BIRDLAND
- build
- Event
- s1
- world
- world_nether
- world_the_end

Here is my config ^^^^
When i going to these world example: BIRDLAND
I can place the Protectionstone ?! Why [It should can't placeable ?!]
(No OP,No Permission)
(Only have permission: - protectionstones.create
- protectionstones.destroy )
use worldguard 6.2.1
worldedit-bukkit-6.1.7.3
multiworld 5.2.6
MC 1.12
How to fix this ?!

SORRY FOR MY NOOB ENGLISH SKILL -w-###

Ore mining doesen't work

somehow PStones disallows ore-mining.
I set "COAL_ORE,LAPIS_ORE,EMERALD_ORE,DIAMOND_ORE,REDSTONE_ORE" as PStones .. strangely redstone is Farmable the others are not. Can you please explain me why? and How do I disable that?

im updating this

@Dragoboss
id like to update this to 1.12 ive already been working on it and have the flags section fixed
no promises on the finish date

Creating blocks protection next to another

When a user creates a protection block the same user can put another block right next to the created protection, and a new region is created in worldguard, making two regions. It is possible to fix it?

And it's possible to create block protection shop? Because for example any block of grass can be a protection block..

Doors/TrapDoors etc

Basically doors trapdoors and other redstone items or basically just player usage items don't work UNLESS the /ps flag use is set to allow. So even the owner of the region is not able to open their door without this flag. This creates issues because then other players can open private stuff.

[1.16.5] Possible update?

I may be beating a dead horse here....

But... is it possible to revive this?
And possibly have it updated for 1.16.5

At this point would be willing to help out where I can / pay to get this done (with some future-proofing).

Drop me a message if this even remotely interests anyone from the team of two.

Commands dissapear after first run

Main culprit: /ps addowner
Works first time, second time it says no such command.

Broken Commands: /ps view
Never works, ever.

/ps info
Will not error saying on such command, but will error if you put in a value such as members, owners, flags.

Error

[01:07:50] [Server thread/ERROR]: Could not load 'plugins/ProtectionStones.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/vik1395/ProtectionStones/Main : Unsupported major.minor version 52.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugins(CraftServer.java:297) [craftbukkit.jar:git-Spigot-c3e4052-1953f52] at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:202) [craftbukkit.jar:git-Spigot-c3e4052-1953f52] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:539) [craftbukkit.jar:git-Spigot-c3e4052-1953f52] at java.lang.Thread.run(Unknown Source) [?:1.7.0_71] Caused by: java.lang.UnsupportedClassVersionError: me/vik1395/ProtectionStones/Main : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_71] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.7.0_71] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.7.0_71] at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.7.0_71] at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.7.0_71] at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_71] at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_71] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_71] at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.7.0_71] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_71] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_71] at java.lang.Class.forName0(Native Method) ~[?:1.7.0_71] at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_71] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[craftbukkit.jar:git-Spigot-c3e4052-1953f52] ... 6 more

Disabled worlds

Disabling words does not work. There is no error. I am using the protectionstones version that allows flags with paperspigot.

Lag when add a member or place a protection

Spigot Version: Paper 1.8.8
Plugin version: ProtectionStones 1.4.1
WorldGuard: 6.2

The lag only happen's if you have too much regions/protections, the server enterely freeze's for a second when i add a member or place a protection

/ps flag Not working...

Hi, i am running the latest version of your plugin and I am also running paperspigot 1.11.2
I get this error whenever I do /ps flag

Error:

3.02 17:18:03 [Server] INFO RTCFlyer issued server command: /ps flag test allow
23.02 17:18:03 [Server] ERROR null
23.02 17:18:03 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'ps' in plugin ProtectionStones v1.4.1
23.02 17:18:03 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151) ~[paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:674) ~[paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1383) [paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1188) [paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) [paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_112]
23.02 17:18:03 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_112]
23.02 17:18:03 [Server] INFO at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:821) [paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:403) [paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:749) [paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:648) [paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
23.02 17:18:03 [Server] INFO Caused by: java.lang.NoSuchMethodError: com.sk89q.worldguard.protection.flags.DefaultFlag.fuzzyMatchFlag(Ljava/lang/String;)Lcom/sk89q/worldguard/protection/flags/Flag;
23.02 17:18:03 [Server] INFO at me.vik1395.ProtectionStones.FlagHandler.setFlag(FlagHandler.java:16) ~[?:?]
23.02 17:18:03 [Server] INFO at me.vik1395.ProtectionStones.Main.onCommand(Main.java:492) ~[?:?]
23.02 17:18:03 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[paperspigot-1.11.2.jar:git-Paper-1021]
23.02 17:18:03 [Server] INFO ... 15 more

Send

TNT

  1. I can blow up the private block.
  2. Private at the same time will not disappear.
    3.It would be good to make that the block did not explode

HELP

how to give permission for players to set a private block

Custom amounts in recipe

custom_recipe = [
        ["", "PAPER", ""],
        ["PAPER", "DIAMOND", "PAPER"],
        ["", "PAPER", ""]
    ]

How can I specify a custom amount for each item?

Drops

Items drop correctly but,It isn't drop exp
(like coal,diamond ore didn't drop exp)

Mods

Could you add the ability to use blocks from mods (I will use Atom). For example, in the configuration file to use not DIAMOND_BLOCK but minecraft: diamond_block, or the dictionary of ores, or use id in general.

i have a problem

I can not use the crafting table inside a protection.
SOME HELP PLS

What I should do?

Error occurred while enabling ProtectionStones v2.7.7 (Is it up to date?) java.lang.NullPointerException: null at dev.espi.protectionstones.utils.WGUtils.getRegionManagerWithWorld(WGUtils.java:57) ~[?:?] at dev.espi.protectionstones.utils.WGUtils.getAllRegionManagers(WGUtils.java:70) ~[?:?] at dev.espi.protectionstones.PSEconomy.loadRentList(PSEconomy.java:105) ~[?:?] at dev.espi.protectionstones.PSEconomy.<init>(PSEconomy.java:45) ~[?:?] at dev.espi.protectionstones.ProtectionStones.loadConfig(ProtectionStones.java:415) ~[?:?] at dev.espi.protectionstones.ProtectionStones.onEnable(ProtectionStones.java:493) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot-1.16.5.jar:3034-Spigot-1ad8354-0791e54] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:351) ~[spigot-1.16.5.jar:3034-Spigot-1ad8354-0791e54] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-1.16.5.jar:3034-Spigot-1ad8354-0791e54] at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:493) ~[spigot-1.16.5.jar:3034-Spigot-1ad8354-0791e54] at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:407) ~[spigot-1.16.5.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:544) ~[spigot-1.16.5.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:257) ~[spigot-1.16.5.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:918) ~[spigot-1.16.5.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:273) ~[spigot-1.16.5.jar:3034-Spigot-1ad8354-0791e54] at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]

Command /ps home

Hello,
I would like to know if it's normal that when you ar in another world than your own protection block, in the /ps home you do not see it.
And also, if it's normal that in the list of /ps home we can not teleport to the protection block to which you are added by another player.
If it's normal, coptions can you add 2 options for this ?
Thanks.

Plugin does not start up on 1.13

[07:36:37] [Server thread/ERROR]: Could not load 'plugins/ProtectionStones.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/sk89q/worldedit/Vector
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[patched_1.13.2.jar:git-Paper-474]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[patched_1.13.2.jar:git-Paper-474]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) ~[patched_1.13.2.jar:git-Paper-474]
    at org.bukkit.craftbukkit.v1_13_R2.CraftServer.loadPlugins(CraftServer.java:329) ~[patched_1.13.2.jar:git-Paper-474]
    at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:235) ~[patched_1.13.2.jar:git-Paper-474]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:791) ~[patched_1.13.2.jar:git-Paper-474]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Caused by: java.lang.NoClassDefFoundError: com/sk89q/worldedit/Vector
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_111]
    at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_111]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:82) ~[patched_1.13.2.jar:git-Paper-474]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[patched_1.13.2.jar:git-Paper-474]
    ... 6 more
Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.Vector
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_111]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:158) ~[patched_1.13.2.jar:git-Paper-474]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:104) ~[patched_1.13.2.jar:git-Paper-474]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_111]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_111]
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_111]
    at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_111]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:82) ~[patched_1.13.2.jar:git-Paper-474]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[patched_1.13.2.jar:git-Paper-474]
    ... 6 more

Help.

I need version to 1.10.2, please!!!
Java 8!

In 1.10.2 Java 8 the regions are not saved when you restart the sv, help please.

Player TNT flag and PVP

Hi i'm playing in a server. When i use the command "/ps flag tnt deny" and "/ps flag pvp deny" i receive the message "You do not have permission to use that flag".
Is this normal?

1.12

[08:06:19 INFO]: pLayEasZ issued server command: /ps admin cleanup remove
[08:06:19 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'ps' in plugin ProtectionStones v1.4.1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1397) [spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1232) [spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_181]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_181]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
Caused by: java.lang.NullPointerException
at me.vik1395.ProtectionStones.Main.onCommand(Main.java:1065) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
... 15 more

All the owners of the protections are lost.

I need help, the plguin delete all the data of the owners and the plugin stop working, work the /ps commands but when i put a ps block dont create a protection why is all this?!

Internal Error

An error occurs when trying to set a flag, I have protectionstones.flags

Bug Fortune

Players do not get more materials by chopping the chosen ores for the protections due to the NoSilkTouch option. Can you fix this?

Region doesn't set?

Basically when opped player or regular players place down the sponge which we set the item to as protection block, it didn't set any type of region. Is it because the server's on 1.11.2?

1.13

please update 1.13
worldguard version: the newest WorldGuard7.0.0

16:10:28 [INFO] ScoterZ issued server command: /ps
16:10:29 [ERROR] null
16:10:29 org.bukkit.command.CommandException: Unhandled exception executing command 'ps' in plugin ProtectionStones v1.4.4
16:10:29 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 at org.bukkit.craftbukkit.v1_13_R1.CraftServer.dispatchCommand(CraftServer.java:693) ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 at net.minecraft.server.v1_13_R1.PlayerConnection.handleCommand(PlayerConnection.java:1634) ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 at net.minecraft.server.v1_13_R1.PlayerConnection.a(PlayerConnection.java:1469) ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 at net.minecraft.server.v1_13_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 at net.minecraft.server.v1_13_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 at net.minecraft.server.v1_13_R1.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_171]
16:10:29 at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_171]
16:10:29 at net.minecraft.server.v1_13_R1.SystemUtils.a(SourceFile:198) [spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:884) [spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
16:10:29 Caused by: java.lang.NoSuchMethodError: com.sk89q.worldguard.bukkit.WorldGuardPlugin.getRegionManager(Lorg/bukkit/World;)Lcom/sk89q/worldguard/protection/managers/RegionManager;
16:10:29 at me.vik1395.ProtectionStones.Main.onCommand(Main.java:146) ~[?:?]
16:10:29 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.13-R0.1-SNAPSHOT-b1779.jar:git-Spigot-69774b3-8e87d03]
16:10:29 ... 15 more

Breaking

When breaking a prot stone, it does not remove the protection region.
ERROR Could not pass event UseBlockEvent to WorldGuard v6.2.1;84bc322
07.08 20:07:42 [Server] INFO org.bukkit.event.EventException: null
07.08 20:07:42 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at com.sk89q.worldguard.bukkit.util.Events.fireAndTestCancel(Events.java:60) [worldguard-6.2.1.jar:?]
07.08 20:07:42 [Server] INFO at com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.onPlayerInteract(EventAbstractionListener.java:377) [worldguard-6.2.1.jar:?]
07.08 20:07:42 [Server] INFO at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source) ~[?:?]
07.08 20:07:42 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_112]
07.08 20:07:42 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_112]
07.08 20:07:42 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:234) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerInteractManager.a(PlayerInteractManager.java:458) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:944) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_112]
07.08 20:07:42 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_112]
07.08 20:07:42 [Server] INFO at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
07.08 20:07:42 [Server] INFO Caused by: java.lang.ClassCastException
07.08 20:07:42 [Server] ERROR Could not pass event UseBlockEvent to WorldGuard v6.2.1;84bc322
07.08 20:07:42 [Server] INFO org.bukkit.event.EventException: null
07.08 20:07:42 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
07.08 20:07:42 [Server] INFO at com.sk89q.worldguard.bukkit.util.Events.fireAndTestCancel(Events.java:60) [worldguard-6.2.1.jar:?]
07.08 20:07:42 [Server] INFO at com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.onPlayerInteract(EventAbstractionListener.java:377) [worldguard-6.2.1.jar:?]
07.08 20:07:42 [Server] INFO at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source) ~[?:?]
07.08 20:07:42 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_112]
07.08 20:07:55 [Multicraft] Skipped 20 lines due to rate limit (100/s)

Problem with the Y radius...

#Set Y to 0 if you want it to protect from sky to bedrock.
Y Radius: 0

When I set the "Y" radius to 0 it doesn't protect from sky to bedrock.

Multiworld Support

In first main world it's work normal but,in second world work not full functional.(can place,destroy it
didn't remove protected area)

Sorry for my bad eng.

Problem with permissions

ProtectionStones: 1.4.2 (latest)
WorldGuard: 6.2
WorldEdit: 6.1.7
Minecraft Version: Paper Spigot 1.11.2

For some reason I updated the plugin but the users do not have permission to put flags

The message that comes out says "You are not allowed to do that here"

It has always worked and I am sure users have the correct permissions

Block sub types not recognised

Trying to use MONSTER_EGGs as the PS
Blocks: MONSTER_EGG-0,MONSTER_EGG-1,MONSTER_EGG-2,MONSTER_EGG-3,MONSTER_EGG-4,MONSTER_EGG-5

Running WorldGuard 6.1.3 (the recommended version from another issue, jar named "worldguard-legacy-6.1.3-SNAPSHOT-dist.jar")
Have tried worldguard-6.2.jar, it works (using base blocks IE: stone), but same issue with sub type

Running PS jar labled "ProtectionStones-1.4.1b_wg6.1.3.jar"
Tried ProtectionStones-1.4.1_wg6.1.3.jar, this also works, but same issue.

The plugin works fine when using block types without sub type designations.

/ps flag

/ps flag dosn't work people get error. Please fix, No evidence as there is nothing else

use not working

Good Afternoon, once my players place the PSTONE they can no longer open doors, use chests or crafting tables.

How can i fix this?

Placing Blocks Over Hidden Protection Stone

Hello, this isn't so much of an issue as it is a question. I tried finding an answer on my own, but surprisingly no one seems to have raised this yet.

What happens if someone hides their stone (I have it set to autohide on place), then places another block into the same space and later on tries /ps unhide while the space is occupied? Well, the plugin says that the stone is already unhidden. The next /ps hide then hides this other block, which disappears but completely - as it cannot be brought back with /ps unhide again, and neither can the stone. Plugin reports an internal error and both blocks are permanently lost.

The protection, however, remains. The only way out of that is to do /ps reclaim

So not really anything to worry about, just something to consider. I don't think anything's broken, at least. I just wondered what would happen so I tried, and those are the results. Oh, and tested using Spigot for 1.10.2, using PS 1.4.1

plugin not starting. Paper 1-16-5

[16:57:30 WARN]: Legacy plugin ProtectionStones v1.4.1 does not specify an api-version.
[16:57:30 ERROR]: Could not load 'plugins\ProtectionStones-1.4.1.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/sk89q/worldedit/Vector
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:157) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:414) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:322) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:393) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:269) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-794]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_321]
Caused by: java.lang.NoClassDefFoundError: com/sk89q/worldedit/Vector
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_321]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_321]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:82) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:153) ~[patched_1.16.5.jar:git-Paper-794]
... 7 more
Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.Vector
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:155) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:114) ~[patched_1.16.5.jar:git-Paper-794]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_321]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_321]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_321]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:82) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:153) ~[patched_1.16.5.jar:git-Paper-794]
... 7 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.