SafeFrames
Lightweight Anti ItemFrame-Break Plugin
SafeFrames
other language-versions/Andere Sprachversionen
What does this Plugin?
- - It's quite simple: In WorldGuard-Regions people can hit an ItemFrame and get the item that was once inside the frame even when they aren't allowed to build there. My plugin denies this action of griefing.
- - So that means, if you cannot build on that region you also cannot destroy ItemFrames.
How to install SafeFrames:
- - Download the version of your choice
- - Place the .jar in your server-plugins directory
- - Either reload, restart or start your Server
- - Completed. Have fun
Commands and Permissions
Command | Permission | Use |
---|---|---|
/sf | SafeFrames.info | shows all commands |
/sf info | SafeFrames.info | shows Plugin-Informations |
/sf reload | SafeFrames.reload | reloads the config.yml |
- | SafeFrames.bypass | gives Right to destroy ItemFrames |
/safeframes = /sf | / | / |
Config:
The Config should look like this:- - Config:
- ....updater:
- ......ShouldThePluginCheckUpdates?: true <- "true" let's the plugin check, if it's the latest version
- ....protected:
- ......worlds: world, world_nether, world_the_end
- ....Output:
- ......String: '&cYou aren''t allowed to break an ItemFrame here.'
editable Messages within the configuration File:
- - you can edit the main message with color-codes.
- - an Example: "&4Hello" will become an dark red text
- - you can also follow this link to look for colorcodes: Colorcodes
World-Support:
- - Change the Text within the config and separate world with a comma
- - EXAMPLE: " worlds: farming, world, world_nether, world_the_end"
- - You can also easily protect all worlds by writing "+ALL"
- - EXAMPLE: " worlds: +ALL"
Required Plugins:
### Important Information!!! ###
- - The PlugIn normally searches for an update and opens a connection.
- - this Update-Check can be toggeled within the config.yml
- - the update-checker uses this Link to check the latest version:
- - https://api.curseforge.com/servermods/files?projectIds=71754
Servers that I support:
- - TheNation[german] - my Server
- - SpawnTown[english]
- - SuperRonanCraft[english]
Feel free to send me ideas, problems or just nice messages, either via the comments or via a ticket :)
Thank you for reading
Sincerely Japu_D_Cret _______________________
@Craelix
can I join your Server to look what is really going on?
i'm gonna be online at any time today
Nevermind, when I left-click.. the items still fall on the floor.
Tried changing it to what you said - When I test it out, it seems that when I left click it the item in the frame dissapears (Does not fall on the floor). I can't right click it though.
The error I get when I right click it is, "You don't have permission for this area."
@Craelix
if you didn't rename it or something your world configuration should be OK. you can try to enter "worlds: +ALL", because this will protect all your worlds.... if this won't work either it's a different problem :/
@JapuDCret
What do you mean case sensitive input? I left it default the way you had it.
As for the worlds, this is the default world so it should work right?
@Craelix
ahhh..maybe you didn't add the specific world to the config? or did not give attention to a case-sentive input
@JapuDCret @JapuDCret
Indeed there is. I use worldguard to protect the zone (IE - They can't build/destroy blocks in the area).
Yet when they go up to an item frame and left click on it, the item plops out.
@Craelix
is there, where the frames are, a worldguard region, which blocks the players from building?
So I have tried this plugin and it does not seem to work?
I left everything default, just installed it as you said but people can still left click and take items out of them?
@cristichi
can you be more specific what does not work?
i'm probably not gonna implement this idea, because this plugin is just a lightweight fix. not more, not less.
sorry, i'm not the owner of the server and i really need the plugin, but it doesnt work, add commands for individual protection please like /sf claim + right click or something like that (just like chest protections :P)
Tomorrow I Am Adding this to my server thdome.mcph.co
@JapuDCret
Thank's!!
@euQsei
i'm gonna work on it tomorrow evening, because i'm not at home. thank you for sharing this important information with me, i'll send you a pm as soon as i finished the update!
--- EDIT: PS: "/safeframes" works just as fine as "/sf" doesThe commands in this plugin conflict with the Fire Safe.
Another problem: Not protecting explosion of tnt or creepers
And this error: 5:55:33 PM CONSOLE: ERROR]: Could not pass event EntityDamageByEntityEvent to SafeFrames v1.03
@Fighter88
ahh thank you!!!
i've found a really stupid logic mistake caused by myself...
update is uploaded and waiting for approvel by the Bukkit stuff.
Work with the spigot version # 1311
[16:48:08] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to SafeFrames v1.02 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) [server.jar:git-Spigot-1311] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [server.jar:git-Spigot-1311] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) [server.jar:git-Spigot-1311] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) [server.jar:git-Spigot-1311] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) [server.jar:git-Spigot-1311] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:99) [server.jar:git-Spigot-1311] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:403) [server.jar:git-Spigot-1311] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:431) [server.jar:git-Spigot-1311] at net.minecraft.server.v1_7_R1.EntityLiving.damageEntity(EntityLiving.java:663) [server.jar:git-Spigot-1311] at net.minecraft.server.v1_7_R1.EntityHuman.damageEntity(EntityHuman.java:751) [server.jar:git-Spigot-1311] at net.minecraft.server.v1_7_R1.EntityPlayer.damageEntity(EntityPlayer.java:462) [server.jar:git-Spigot-1311] at net.minecraft.server.v1_7_R1.EntityArrow.h(EntityArrow.java:231) [server.jar:git-Spigot-1311] at net.minecraft.server.v1_7_R1.World.entityJoinedWorld(World.java:1472) [server.jar:git-Spigot-1311] at net.minecraft.server.v1_7_R1.World.playerJoinedWorld(World.java:1448) [server.jar:git-Spigot-1311] at net.minecraft.server.v1_7_R1.World.tickEntities(World.java:1317) [server.jar:git-Spigot-1311] at net.minecraft.server.v1_7_R1.WorldServer.tickEntities(WorldServer.java:514) [server.jar:git-Spigot-1311] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:671) [server.jar:git-Spigot-1311] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [server.jar:git-Spigot-1311] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:560) [server.jar:git-Spigot-1311] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:467) [server.jar:git-Spigot-1311] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [server.jar:git-Spigot-1311] Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_7_R1.entity.CraftSkeleton cannot be cast to org.bukkit.entity.Player at me.japu_d_cret.sf.Events.blockBreak(Events.java:124) [?:?] at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_13] at java.lang.reflect.Method.invoke(Method.java:601) [?:1.7.0_13] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:318) [server.jar:git-Spigot-1311] ... 20 more
@MarkNutt
can you be more specific? what is this plugin allowing you :D?
Its still allowing me and im on 1.7.2
@huntershenep
No I'm sorry.