[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

    Thorns_Ofire

    Oh cool thanks =D
     
  3. Offline

    omnija

    this plugin is just what i've been looking for :) works so well with factions, that way people can't destroy your buildings even if they stole the land :)
     
  4. Offline

    ELiXiR-0F-LiFe

    Hi, the permission nodes seem to not be working for me. Here is my permission file:

    groups:
    Admins:
    default: false
    info:
    prefix:
    suffix:
    build: false
    permissions:
    - '*'
    - '-admincmd.item.repair' //this was to see if the disallow node thingy was working.//
    - '-EasyProtect.Area.*' //this is not blocking admins from using any /ep commands.//
     
  5. Offline

    Teh Kitteh

    Will this protect explosions at spawn (ie: creepers)?
     
  6. Offline

    XoX


    Please try also disabling the other nodes specicly. So keep - '-EasyProtect.Area.*' but also add - '-EasyProtect.Area.Create' and all the others.

    Are there any errors in the console?

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

    gerarddude5100

    OK i fixed it but would u know if there is a way of setting a radius but also be allowed to use Banana Region as well so people can buy land.

    or do u know of a suitable alternative.

    Also do you know if it works with essentials without permmisions
     
  8. Offline

    ELiXiR-0F-LiFe

    That didn't seem to work either :(
     
  9. Offline

    XoX

    Hmm. contact me on AIM, Skype or MSN

    AIM: xoxL337
    MSN: Fabianxm@gmx.at
    Skype: xox1337

    Right now it only works with Permissions 3.1.6 and I dont plan on making anything else work except maybe superperm

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

    gerarddude5100

    do u know any other plug ins that do a radius around the the player and spawn
     
  11. Offline

    Malber

    Hey, the plugin looks really cool :) but I can't seem to get it to work. No matter what I set the radius to, it seems to allways be around 15 blocks. Also if you destroy the outer block, you can't replace it.. What am I doing wrong?
     
  12. Offline

    B4LLzEE

    whats all this about?
    Code:
    2011-07-28 14:06:48 [INFO] [EasyProtect] Hooked into Permissions v3.1.6
    2011-07-28 14:06:48 [INFO] [EasyProtect] Version 1.2 Enabled disabled!
    2011-07-28 14:07:09 [INFO] [EasyProtect] Your version of EasyProtect is NOT up-to-date.
    2011-07-28 14:07:09 [INFO] [EasyProtect] You are only running version 1.2
    2011-07-28 14:07:30 [INFO] [EasyProtect] Get version  from my bukkit thread.
     
  13. Offline

    Thorns_Ofire

    I'm having issues getting my permissions to work. Here's my permissions file:

    Code:
    groups:
        Guest:
            default: true
            info:
                prefix:
                suffix: '(Guest)'
                build: false
            inheritance:
            permissions:
                - 'mcmmo.regeneration'
                - 'mcmmo.skills.*'
                - 'mcmmo.ability.*'
                - 'mcmmo.commands.ability'
                - 'mcmmo.commands.whois'
                - 'SpawnX.spawn'
                - '-EasyProtect.Area.*'
        Member:
            default: false
            info:
                prefix:
                suffix: '(Member)'
                build: true
            inheritance:
                - Default
            permissions:
                - 'magiccarpet.mc'
                - 'magiccarpet.ml'
                - 'backpack.maxpages.9'
                - 'backpack.open'
                - 'backpack.toggle'
                - 'mcmmo.commands.*'
                - 'mcmmo.chat.partychat'
        Moderator:
            default: false
            info:
                prefix:
                suffix: '(Mod)'
                build: true
            inheritance:
                - Member
            permissions:
                - 'modplugin.ban'
                - 'modplugin.kick'
                - 'modplugin.unban'
                - 'mcmmo.chat.adminchat'
                - 'Magic.wand.use'
                - 'Magic.commands.spells'
                - 'Magic.commands.wand'
                - 'Magic.cast.*'
                - '-Magic.cast.grenade'
                - '-Magic.cast.inferno'
                - '-Magic.cast.kaboom'
                - '-Magic.cast.lava'
                - '-Magic.cast.nuke'
                - '-Magic.cast.peek'
                - '-Magic.cast.spawn'
                - '-Magic.cast.superblast'
                - '-Magic.cast.superblob'
        Admins:
            default: false
            info:
                prefix:
                suffix: '(Admin)'
                build: true
            inheritance:
            permissions:
                - '*'
    I'm trying to set it up so that only Admin can use any of the /ep commands. Right now it seems that everyone can. >_<


    Edit: Just read back a bit and it looks like I'm not the only one hitting this snag. I also tried putting the other nodes in but no luck :(
     
  14. Offline

    datvid

    is there a way to add the ability to let specified people build in the protected area you create or add a group permission ?
     
  15. Offline

    sheape

    can some one tell me how to add people to the protected zone i went in to permissions and added this
    EasyProtect.Area.codye190 to the users config file and he still can build in the protected zone please help:)

    users:
    Rowdy31:
    permissions:
    groups:
    - Admin
    nfsfreak101rock:
    permissions:
    groups:
    - Moderator
    jfepper:
    permissions:
    groups:
    - Moderator
    codye190:
    permissions:
    - EasyProtect.Area.codye190
    groups:
    - Moderator

    (the spacing might be off beacuse i copyed and pasted.)
     
  16. Offline

    gamingvortex

    MySQL Support?
     
  17. Offline

    jamesl55

    very good just dowloaded now but a good thign to add is when you use WE you get a tool to specify hight and length and with and stuff like that. why not make how you speicify the length of you protection on your land the same way.
    /ep wand
    it would give you a different tool then a wooden axe though.using this would make it easyier to define your protection zones. Also how do you add someone to the land protection like another admin or something?
     
  18. Offline

    Rarebit

    I have the Same problem like sheape ,i can give the permission easyprotect.area.* but easyprotect.area.luk or easyprotect.area.Festung don't work (luk and Festung are the areas) i use permissions 3
     
  19. Offline

    Zareh

    That would actually make more sense to allow a player to enter their own parameters. Really, this is minecraft, there isn't much made in "ball shape". Not all builds are perfect squares, so a custom width, length, and height may workout better for all.

    The best thing may be to create a touch point. You may want to type something like /ep create NAME start Then when you right click on the start of the protection area and then right click on the ending (which would be diagonally from the the start). You would be able to move up and down still to get the height too.
     
  20. Offline

    XoX

    Well, circular shape was how this plugin was requests from me.
     
  21. Offline

    Zareh

    Well, it's a sweet idea. Can it be changed to how I mentioned?

    Also, I have a bad memory. Can you add a "/ep list" command so that it will show all the names of your protected areas?
     
  22. Offline

    dockter

    Im sorry, but a little confused.

    Can you specify x/y/z coordinates with this plugin to protect certain areas?
     
  23. Offline

    Kovna

    Hey XoX,
    Great plugin! Love it's simplicity and you should really keep it simple if you continue developing it.
    The only thing I would agree with from above is the "ep /list" commands which should show the names.
    I unfortunately can't get the per area permissions to work. I'm using the dev version of GroupManager (as I have a custom plugin I wrote that hooks into it quite deep so can't really change). I use "/manuaddp PlayerName EasyProtect.Area.AreaName" and I can verify the player gets the permission however when they build they get the "This Area is Protected" message.
    Any ideas on how I can debug this further?
    Many Thanks!
     
  24. Offline

    Pico15

    can you update this for #1185 pls?
     
  25. Offline

    xtyro

    could you add permissions or at least a config value for max allowed radius. eg. EasyProtect.Area.Radius.<integer>
     
  26. Offline

    ezshooter69

    The plugin looks like it would work great, but everytime I put it in my plugins folder this happens...

    Could not load 'plugins/EasyProtect.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    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(ClassLoader.java:317)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

    Can someone make sense of this for me?
     
  27. Offline

    jespertheend

    Look, I saw WorldGuard and it has some awsome feautures, but it looks so hard to use. Can you please add TNT protection for the protected areas.
     
  28. Offline

    gabessdsp

    How would one set this for different worlds? I want it to protect one of the worlds on my server but none of the other ones. I use WorldManager latest and CreativeGates to teleport between them.
     
  29. Offline

    Nazerb

    update?
     
  30. Offline

    Kovna

    Can confirm now that basic protection is working for me on Bukkit #1185 & #1240...
    However I cant get the permissions nodes to work (EasyProtect.Areas.Areaname). Any help here would be appreciated. Nothing unusual in logs.
     
  31. Offline

    Kerrick

    I would like to report a small bug. If you customize SpawnProtectionRadius in config.yml and use /ep reload, it actually rewrites SpawnProtectionRadius to 100 in config.yml, rather than reading from the file. Instead, you have to reboot the server.

    Also, I would like to second the feature request to choose between a sphere or a sky-to-bedrock cylinder.
     

Share This Page