[ADMN/SEC] GuestPrev v1.5 - AntiGrief Guest Manager [1.3.1-R2.0]

Discussion in 'Inactive/Unsupported Plugins' started by SunShe, Feb 24, 2011.

  1. Offline


    [ADMN/SEC] GuestPrev v1.5a - AntiGrief Guest Manager [1.3.1-R2.0]

    GuestPrev - AntiGrief Guest Manager:
    Version: v1.5a

    GuestPrev allows you to manipulate your guest accesses and events,
    it protects your server against griefers or unknown players.

    Feel free to open your server to the public without having to worry about griefers.

    Simple, Light, easy.
    No Permissions system required. (But supported)

    Features: Prevents guests from the following...
    • Placing, Breaking, or Interacting with Blocks
    • Using, Destroying, or Moving Boats/Mine Carts
    • Picking Up or Drop Items (Option to Authorize Certain Items)
    • Opening Chests, Furnaces, or Dispensers
    • Interactions with Doors, Levers, Buttons, or Pressure Plates.
    • Trampling wheat and using ladders.
    • Creepers explosions on guests.
    • Workbench Use (Option to Authorize Use)
    • Attacking types of animals/monsters.
    • Exploring the unknown world not generated. (Preventing from increase your file map size.)
    Additional Features:
    • Auto-locks Guest Inventory Changes
    • Stops Players From Using Blocks to Climb Over Walls
    • Enable or Disable Guest Chat, Guest Server Access.
    • Send a private message or kick all guests. (for servers overloaded of guests)
    • Optional/editable Every Notify Messages for guests.
    • Configurable guest interactions.
    • Can make virtual walls for restrict your guests at some ways.
    • Admin Command Tools (Teleport,Kick,Ban,Mute,Froze,Etc...)
    • Set a max amount of online guests in same time.
    • Reserve slots for members.
    • Can disable other plugins commands access.
    • You can optionally set a chat-prefix for recognize who are a guest.
    • A system who logging the players activities. (First Join, Latest Connected/Disconnected)
    • Make your Guests (Spectators) invincible.
    DOWNLOAD: Private now, you can PM me if intersting...
    thecoolwolf, Tealk, kahlilnc and 6 others like this.
  2. Offline


    Only the simple "*" !! Sub nodes like "blabla.*" not affect GuestPrev. it's not an issue :/ nodes works by level for each dot.

    How that? im not sure to understand.
  3. Offline

    Jonathan Bloom

    Guests are able to pickup dropped flint, steel, buckets, water, lava, fire. They are also able to use these. Can you make it so they can't use them at all?
  4. Offline


    @SunShe Any idea? I sent you a PN.
  5. Offline


    I really need this plugin but every time I try it gives me this error:
    05:13:07 [SEVERE] Could not load plugins/GuestPrev.jar in plugins: null
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:69)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:131)
        at java.util.jar.JarFile.<init>(JarFile.java:150)
        at java.util.jar.JarFile.<init>(JarFile.java:114)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:56)
        ... 8 more
  6. Offline


    My error:
    2011-03-18 19:20:48 [SEVERE] Could not pass event PLAYER_MOVE to GuestPrev
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroup(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    at com.bukkit.sunshe.GuestPrev.GuestPrev.isBuildTrue(Unknown Source)
    at com.bukkit.sunshe.GuestPrev.GuestPrev.isAuthorized(Unknown Source)
    at com.bukkit.sunshe.GuestPrev.GuestPrevPlayerListener.onPlayerMove(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$8.execute(JavaPluginLoader.java:165)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:115)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)

    help me pls :D
    my server griefed
  7. Offline


    omg 2 error from 2 person my bad... mmm let's me watch that i answer you in few minutes.

    I think the error comming from your Permissions plugin: "com.nijiko.permissions.PermissionHandler.getGroup"

    Mmm... it say about craftbukkit can't open my plugin? Have you put rightly the .jar in the "plugin" folder? or check maybe your computer administrator rights.

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


    I don't wanna add "guest" permission/groupmanager group, I wanna promote guests by using your Plugin as solution, because it'd be much work, promoting every guest in all worlds to "member" rights. That's one of the basic reasons I'm loving your Plugin.
    The thing I'm missing is a prefix like "[guest]player: message". It's be easy doing this by adding guest group, but I explained the dis-advance above (multiworld permissions/many edits).
    This way our community would identify guests easy and maybe advice them :)
  9. Offline


    Yes, I put it in the plugins folder and changed all the permissions to 777. No luck.
  10. Offline


    Nick name 1~3...
    my Nick name : abc
    /gp add abc = !NotFound!!!!!
  11. Offline


    i cnt seem to get this to work do you have to have the default group in permissions as guest because some people are joining and not authed and they can get past my walls
  12. Offline


    Im getting the same problem.
    People who aren't authorized can still build
  13. Offline


    Nice idea, i will add that in the next version. [​IMG]

    why you you calling "abc"? ahahah... mmm Oh yea i know why, because i have make a test for 4+ chars lenght. lol i gonna change that in the next release.

    If you are using "Permissions/GroupManager", check if your default group have "build: false" if "usebuild" properties is checked (true). Then check with node "guestprev.is.authorized" are not present in the default group. and for finish, look in your "authorized.txt". Be sure that you see "guestprev is loaded!" when you starting your server.

    Mmm... your craftbukkit version maybe? or a plugin making conflict?

    what's "/mvmodify" ?

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


    well i do have the default group in permissions as guest now and yes they can build but they can walk past the wall barriers still so this aint working and no one is authed because i havent had chance to auth people as its not working and in the consol it does say the plugin is loaded so where am i going wrong maybe an example of ur permissions so i can change mine so no one can cross the barriers i dont mind them building
  15. Offline


    if you have "build: true" in your Default group, every guest will be authorized then bypass virtuall walls. You need to change in properties file "usebuild=false" to not affect authorized players by "build: true". (if you did that, you need to add "guestprev.is.authorized" in your member group nodes permission.) If you want walls effet to everyone eccept admins, change property to : "wallsforall=true"

    4 way that a player are authorized;

    1) Authorized by "authorized.txt" file.
    2) "usebuild=true" + "build: true"
    3) "guestprev.is.authorized"
    4) "*"

    You can check that by use command: "/guestprev authorized" or "/gp authorized"
  16. Offline


    @SunShe Could you please answer?
  17. Offline


    i not understand you. :/

    But in your file, only "Mod" group can access to advanced commands there.
  18. Offline


    yes, that is right. but NO Mod can access advanced commands... but my permissionsconfig should grant them the rights. i can't understand why the nodes doesn't function. are you sure this should work? im sure it should, but it doesn't... help me please.
  19. Offline


    Yea at my side it work. advanced is for "Admin only" at this time, maybe is that your problem?
    It's for admins affinity. so all of them need to are an Admin. maybe add "guestprev.is.admin"
  20. Offline


    Uh my bad, I posted it in wrong Forum ^^'
  21. Offline


    I am able to destroy the thin layer of snow on blocks as a guest with usebuild=false. It gives me a warning that guest are not allowed to do so and does it anyway!
  22. Offline


    Yeah, now it works. Thank you very much ;)
    I think the advanced permissionnodes should work also without the "guestprev.is.admin". no other plugin use this "doubled" permission xD a permission for permissions :)

    I found textmessage mistake: when i command "/gp kickguests" it shows me "Guests as been kicked with reason: ..." and i think it should be "Guests has been kicked with reason: ..."
  23. Offline


    With respect, 4 methods to do the same thing seems to cause more problems and confusion than it solves.

    1 is how the plugin should work imo (and how I suspect most expect and want it to)

    2 and 3 are a waste of time (and largely the cause of most of the "players can't build even after I've authorised them" or "Whaa, guests can still build" confusion. 2 especially so. At the very least I think the default for usebuild should be false. Half of the "it doesn't work" messages would disappear if you changed that default. If someone desperately wants a complicated life, then make them enable it, but I would make the default plugin work in a simple, straightforward and easy way, without needing lots of permissions configuring or option editing to remove superfluous authorization methods.

    4. Is fair enough (although it does make it awkward to test that the plugin is working with only 1 account)
  24. Offline


    @SunShe I request when i command "/gp authorized" that it shows my in first line a total number of playernames/lines in the file "authorized.txt", like it /who, /list or /online does at the "Essentials" plugin in chat. so i know instantly my serverpopulation and can manage with that my serverstrategy/decisions faster ;)

    i also request with that command "/gp authorized" that you can show the list sorted by permissiongroups, like it does /who, /list or /online at the newest recommended build of "Essentials" plugin (v. 2.0.298 or 2.0.296). here a picture what i mean:[​IMG]

    Uploaded with ImageShack.us
  25. Offline


    i see, i will add that. nice idea thanks.

    So for the next one, what i will add/modify?

    - Modify the command "/gp autorized" to check: file, groups and online players.
    - Modify the command "/gp players" to display by status: Admin, Authorized, Guest [DONE!]
    - Add a properties prefix for guest when chating. [DONE!]
    - Recognition of players with 3 chars lenght. [DONE!]
    - Fix a little fault: "Guests has been kicked with reason: ..." at all commands. [DONE!]

    By the way Kartus, have you fixed your problems with nodes?

    GuestPrev 1.4d is released.
    Watch the first post for more details.

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


    This sounds perfect! Going to install it now :)
  27. Offline


    Thank you so very much for your hard work in creating this plugin.
    when I load your plugin I get this message in terninal
    Can you please help

    Sorry disregard your plugin is fine I was testing another beta plugin for someone and didn't realize it was loaded too.

    I love your work thank you very much!
  28. Offline


    Only now? xD

    Thanks to you too for using my plugin. if any one of you have any other idea, let's me know it.
  29. Offline


    Yes i fixed. Thanks.

    Can you please answer my other post #240?
  30. Offline


    hey! i have did it. look the first post please. Use simply "/gp players" and it will do what you want.
  31. Offline


    Ah, sry, I didn't see it :) Thanks for your work. But i requested this for /gp authorzied, and in 1.4d /gp authorized ist buggy, it doesn't show any playernames.

Share This Page