[INACTIVE][ADMN/SEC] EasyProtect v1.2 - Protection at its simplest [1000]

Discussion in 'Inactive/Unsupported Plugins' started by XoX, Jul 17, 2011.

  1. Offline

    XoX

    EasyProtect - Protectiion at it's simplest.
    Version: v1.2

    PLEASE READ BEFORE FLAMING:
    I don't think I have seen a plugin that protects in such a simple way.
    It works for ops and you can also use permissions.

    If you want any features added, just ask.


    Features:
    • Automatic Protection around the spawn. Radius customizable in the config..
    • Create and Delete Custom areas using /ep create Name Radius or /ep delete Name
    • Permissions per Area
    • Permissions for spawn only.
    How to use:


    The first time it is ran it will create a config file in which you can set the default protectionradius around spawns, after you are done you can reload the config using /ep reload

    Custom areas can be set with /ep create Name Radius and it will create a protected area around you in the selected radius.
    To delete an area just type /ep delete Name


    Permission Nodes
    Permission Nodes (open)

    • EasyProtect.Area.Build - For placing and destroying blocks inside areas.
    • EasyProtect.Area.Create - to /ep Create
    • EasyProtect.Area.Delete - to /ep Delete
    • EasyProtect.Area.Reload - to /ep Reload
    • EasyProtect.Area.Version - to /ep Version
    • EasyProtect.Area.Spawn - To build at the spawn only.
    • EasyProtect.Area.<Name> - To build in a certain Area. e.g.: EasyProtect.Area.Narwhal
    • And of course:
      EasyProtect.Area.* - to be able to do anything.



    Download the latest version: EasyProtect.jar

    Changelog:

    Version 1.2
    • Added per Area permission:
      EasyProtect.Area.<AreaName>
    • Added permission to let certain people build at the spawn:
      EasyProtect.Area.Spawn
    • Added /ep version command and permission for it:
      EasyProtect.Area.Version
    • Fixed not working /ep reload command.
    • Fixed showing the wrong version when loading.
    • Now show when loading if EasyProtect is not up to date.

    Version 1.1
    • Added Permissions:
      Nodes:
      EasyProtect.Area.Build - For placing and destroying blocks inside areas.
      EasyProtect.Area.Create - to /ep Create
      EasyProtect.Area.Delete - to /ep Delete
      EasyProtect.Area.Reload - to /ep Reload

    Version 1.0
    • Initial release.
     
  2. Offline

    codename_B

    Please update the title to the latest RB [1000]
     
  3. Offline

    XoX

    I did not realize there was a new recommended build, sorry.
     
  4. Offline

    Mike A

    Works great. This plugins is good for protecting spawn area from the middle point and such. No more square protections that aren't even!
     
    XoX likes this.
  5. Offline

    Grammar Troll

    Show Spoiler

    [ADMN/SEC] EasyProtect v1.0 - Protection at it's simplest [1000]

    >

    [ADMN/SEC] EasyProtect v1.0 - Protection at its simplest [1000]
     
  6. Offline

    joshua mckane

    i guess i would like a permision soportsorry for spelling,
     
  7. Offline

    XoX

    haha, Guess I'm too much of a grammar nazi, fixing it when it's not wrong. Thanks

    I will PM you when it's ready.
     
  8. Offline

    joshua mckane

    thank you
     
  9. Offline

    XoX

    Permissions support added.
    I didnt try it but if you could please do and report back to me.
     
  10. Offline

    joshua mckane

    alright will do now

    works ^^

    it would be amazing if you could use an item to set an area also like a stick or peice of flint

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  11. Offline

    XoX

    Thanks. Okay.

    And maybe I will add that later, for now, simplicity was important.
     
  12. Offline

    Flopi

    Would be amazing if you could make it where admins or what ever can make private land for others, (for ex: /ep Create (username)
    And if they had 2 residents on their land it would be /ep Create (username) (username)
    Please tell me if you can already do this.
     
  13. Offline

    XoX

    Just give them the per area permission.
     
  14. Offline

    KrebsCOHO

    What I'd really love to see since the Residence developer is a bit AFK is the following:

    1. Players can protect their own land
    2. Protected areas can be made within protected areas. For example, if the OP makes a large area protected, then allows others to make smaller protected areas in their so they can change various options (such as turning PVP on)
    3. Leasing system make the protected areas cost over time
    4. Being able to buy/sell your protected area
    5. Setting limits such as 10x10x10, how many you can own, etc etc
     
  15. Offline

    XoX

    First of all I have to point out that this is only very basic for now as this was requested from me this way .

    also,

    1. Give them the permission for the /ep create command?
    2. This I have already planned
    3. I will have to figure out how to use economy first
    4. ^^^^^
    5. Already being worked on as well.
     
  16. Offline

    Flopi

    How do you do that?
     
  17. Offline

    Thorns_Ofire

    Hey I'm getting this error when I break a block in one of my protection areas. Any thoughts?

    Code:
    C:\Users\Scot\Desktop\Minecraft\Server>"C:\Program Files\Java\jre6\bin\java.exe"
     -Xms1024M -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    151 recipes
    16 achievements
    01:45:58 [INFO] Starting minecraft server version Beta 1.7.2
    01:45:58 [INFO] Loading properties
    01:45:58 [INFO] Starting Minecraft server on *:25565
    01:45:58 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-904-
    g9277096-b953jnks (MC: 1.7.2)
    01:45:58 [INFO] DataSourcePool [MinecartManiaCore] autoCommit[false] transIsolat
    ion[SERIALIZABLE] min[2] max[20]
    01:45:58 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.Plugi
    nClassLoader]
    01:45:59 [INFO] Entities enhanced[0] subclassed[2]
    01:45:59 [INFO] DataSourcePool [MinecartManiaSignCommands] autoCommit[false] tra
    nsIsolation[SERIALIZABLE] min[2] max[20]
    01:45:59 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.Plugi
    nClassLoader]
    01:45:59 [INFO] Entities enhanced[0] subclassed[2]
    01:45:59 [INFO] Preparing level "world"
    01:45:59 [INFO] Preparing start region for level 0 (Seed: -4473837265267114200)
    01:45:59 [INFO] Preparing start region for level 1 (Seed: -5063531671054239412)
    01:46:00 [INFO] CreeperNerf version 0.1 enabled
    01:46:00 [INFO] [EasyProtect] Can't find Permissions Plugin, using OPs
    01:46:00 [INFO] [EasyProtect] Version 1.2 Enabled disabled!
    01:46:00 [INFO] Permissions plugin not found, everyone has full access!
    01:46:00 [INFO] Magic: Loaded 67 spells.
    01:46:00 [INFO] Magic version 2.0.5 is enabled
    01:46:00 [INFO] [MagicCarpet] MagicCarpet version 1.5.6 is enabled!
    01:46:00 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet
     or /mc.
    01:46:00 [INFO] [MagicCarpet] Anyone can use the Magic Carpet.
    01:46:00 [INFO] Loading Config File...
    01:46:00 [INFO] print_reports = false
    01:46:01 [SEVERE] [mcMMO] Permissions isn't loaded, there are no restrictions.
    01:46:01 [INFO] mcMMO version 1.0.34 is enabled!
    01:46:01 [INFO] [Minecart Mania] Debug mode switched to NORMAL
    01:46:01 [INFO] [Minecart Mania] MinecartManiaCore version 1.2.8 is enabled!
    01:46:01 [INFO] [Minecart Mania] MinecartManiaSignCommands version 1.2.8 is enab
    led!
    01:46:01 [INFO] [Minecart Mania] MinecartManiaStation version 1.2.5 is enabled!
    01:46:01 [INFO] [PorteCoulissante] plugin version 1.2.1 by Captain_Chaos enabled
    
    01:46:01 [INFO] [RetractableBridge] plugin version 1.3.6 by Captain_Chaos enable
    d
    01:46:01 [INFO] SpawnX enabled
    01:46:01 [INFO] Permission system not detected, defaulting to OP
    01:46:01 [INFO] [Backpack] Permissions not detected. Using config file.
    01:46:01 [INFO] Backpack version 2.2.0 is enabled!
    01:46:01 [INFO] [Minecart Mania] Permissions not found. Using OP for admin comma
    nds.
    01:46:01 [INFO] [Minecart Mania] MinecartManiaAdminControls version 1.2.7 is ena
    bled!
    01:46:01 [INFO] [Minecart Mania] MinecartManiaAutomations version 1.2.3 is enabl
    ed!
    01:46:01 [INFO] [Minecart Mania] MinecartManiaChestControl version 1.2.5 is enab
    led!
    01:46:01 [INFO] [dynmap] Using environment as template: normal
    01:46:01 [INFO] [dynmap] Configuration of world world
    01:46:01 [INFO] [dynmap] center: org.dynmap.ConfigurationNode@1a7c21bb
    01:46:01 [INFO] [dynmap] enabled: true
    01:46:01 [INFO] [dynmap] title: world
    01:46:01 [INFO] [dynmap] maps: [{class=org.dynmap.flat.FlatMap, name=flat, title
    =Flat, prefix=flat, colorscheme=default, textured=smooth}, {class=org.dynmap.kze
    dmap.KzedMap, renderers=[{class=org.dynmap.kzedmap.DefaultTileRenderer, name=sur
    face, title=Surface, prefix=t, maximumheight=127, colorscheme=default}, {class=o
    rg.dynmap.kzedmap.CaveTileRenderer, name=cave, title=Cave, prefix=ct, maximumhei
    ght=127}]}]
    01:46:01 [INFO] [dynmap] name: world
    01:46:01 [INFO] [dynmap] Loading maps of world 'world'...
    01:46:01 [INFO] [dynmap] Loading renderers for map 'class org.dynmap.kzedmap.Kze
    dMap'...
    01:46:01 [INFO] [dynmap] Loaded 2 renderers for map 'class org.dynmap.kzedmap.Kz
    edMap'.
    01:46:01 [INFO] [dynmap] Loaded 2 maps of world 'world'.
    01:46:01 [INFO] [dynmap] Using environment as template: nether
    01:46:01 [INFO] [dynmap] Configuration of world world_nether
    01:46:01 [INFO] [dynmap] center: org.dynmap.ConfigurationNode@52776f7a
    01:46:01 [INFO] [dynmap] enabled: true
    01:46:01 [INFO] [dynmap] title: world_nether
    01:46:01 [INFO] [dynmap] maps: [{class=org.dynmap.flat.FlatMap, name=flat, title
    =Flat, prefix=flat, colorscheme=default, background=#300806, textured=smooth}, {
    class=org.dynmap.kzedmap.KzedMap, renderers=[{class=org.dynmap.kzedmap.DefaultTi
    leRenderer, name=nether, title=Surface, prefix=nt, maximumheight=127, colorschem
    e=default, background=#300806}]}]
    01:46:01 [INFO] [dynmap] name: world_nether
    01:46:01 [INFO] [dynmap] Loading maps of world 'world_nether'...
    01:46:01 [INFO] [dynmap] Loading renderers for map 'class org.dynmap.kzedmap.Kze
    dMap'...
    01:46:01 [INFO] [dynmap] Loaded 1 renderers for map 'class org.dynmap.kzedmap.Kz
    edMap'.
    01:46:01 [INFO] [dynmap] Loaded 2 maps of world 'world_nether'.
    01:46:01 [INFO] [dynmap] Web server is permitting symbolic links
    01:46:01 [INFO] [dynmap] Loaded 8 components.
    01:46:01 [INFO] [dynmap] Dynmap WebServer started on null:8123
    01:46:01 [INFO] [dynmap] version 0.19.2 is enabled
    01:46:01 [INFO] Done (0.246s)! For help, type "help" or "?"
    01:46:02 [INFO] Thorns_Ofire [/127.0.0.1:61247] logged in with entity id 121 at
    ([world] -126.06605629780174, 7.0, 104.77013260089397)
    01:46:04 [INFO] [dynmap] Biome data support is enabled
    01:46:08 [SEVERE] Could not pass event BLOCK_BREAK to EasyProtect
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
            at me.xox.easyprotect.EasyProtectBlockListener.onBlockBreak(EasyProtectB
    lockListener.java:46)
            at org.bukkit.plugin.java.JavaPluginLoader$35.execute(JavaPluginLoader.j
    ava:483)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:157
    )
            at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:121
    )
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:460)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHa
    ndler
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
            ... 14 more
    01:46:12 [SEVERE] Could not pass event BLOCK_PLACE to EasyProtect
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
            at me.xox.easyprotect.EasyProtectBlockListener.onBlockPlace(EasyProtectB
    lockListener.java:18)
            at org.bukkit.plugin.java.JavaPluginLoader$27.execute(JavaPluginLoader.j
    ava:427)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:90)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:74)
            at net.minecraft.server.ItemBlock.a(ItemBlock.java:81)
            at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:223)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:552)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >
     
  18. Offline

    XoX

    EasProtect.Area.AreaName



    This must be because you don't have permissions, I will fix this soon.
     
  19. Offline

    Flopi

    Does it go all the way down and all the way up ( like down to bedrock and up to sky?)
     
  20. Offline

    XoX

    No. More like in ball shape. Do you want it to do that?
     
  21. Offline

    Flopi

    Yes that would be amazing or have it to be able to like EasyProtect.Area.<Name> (hight) (depth) or (x,x) hight and depth. That would be a amazing feature.
     
  22. Offline

    Thorns_Ofire

    Thanks for the quick response. I'll keep checking back for the fix.

    That would actually help me a lot. I'm having to use two separate zones to get the below ground and above ground area in the vertical space.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  23. Offline

    XoX

    If you only want
    If you only want support so it will go from ALL THE WAY to the bottom to ALL THE WAY to the top I can do that very easily and quickly, for custom height you would have to wait a bit. Just tell me which one you want.
     
  24. Offline

    Flopi

    Either one is good. ALl the way would be better for now. So im going with all the way.
     
  25. Offline

    gerarddude5100

    this started to work but now has stopped working
     
  26. Offline

    XoX

    I need more info than that -_____-
     
  27. Offline

    gerarddude5100

    oh right yea well i was using it with a load of of other plugins

    which were..

    Bananaregion
    sign lift
    essentials collection
    Creeper Heal
    Lockett

    it was working with all the plug ins i could set the spawn protection area but then one day i came back to change the config file to make the spawn protection bigger it started not to not work.

    so it won't create any protection for me
     
  28. Offline

    omnija

    how many blocks does it cover? up,down,left and right
     
  29. Offline

    Thorns_Ofire

    Is there anyway to make it so text on signs doesn't get erased when a sign get broken in a protection zone?
     
  30. Offline

    omnija

    when you relog the text comes back.
     
    Thorns_Ofire likes this.

Share This Page