[INACTIVE][ADMN] Admin Mode v0.4.3 - Save your items before dealing with griefers! [860]

Discussion in 'Inactive/Unsupported Plugins' started by gnftoxic, Mar 11, 2011.

  1. Offline

    gnftoxic

    Admin Mode is a simple plugin - it saves your items, health, and location so you can deal with griefers, bad players, etc.
    Like this plugin? Contribute to the developers :)
    Current Version: 0.4.3 (Download AdminMode.jar)
    Permissions Support! (Completely optional)
    The Commands
    • /adminmode - Save your items, health, and location
    • /am - Alias of /adminmode
    The usage is very simple. You type /am and it clears your inventory, saves your health, and saves your location. After you have dealt with the griefers, done your admin duties, or whatever you felt like doing, you simply need to type /am again and it will return your items, your health, and return you to where you were last standing.

    Changelog
    • 0.4.3
      • Updated to CB #818
    • 0.4.1
      • Updated to CB #677
      • Fixed Permissions support
    • 0.4
      • Updated to CB #617
      • Implemented the ability to switch on/off health/location/items resetting
      • Changed enable / disable to /am on|off (temporary, I hope.)
    • 0.3
      • Entities now avoid any player using Admin Mode.
      • Added configuration file. plugins/AdminMode/settings.properties
      • Added Permissions support. Use "adminmode.use" to allow a player or group to use /am (or /adminmode)
      • Added hook PLAYER_JOIN, if a player had disconnected and reconnected, their location, health, and inventory will be reset to what it was.
      • Added hook ENTITY_TARGET to allow the first change (entity will not target player)
    • 0.2
      • Implemented functional god mode, preventing the death of an operator teleporting to a player.
      • Removed extra call to players' inventory when restoring it.
      • Removed an unused import in amEntity.java
    • 0.1
      • Initial release.
    ... this idea originated from http://forums.bukkit.org/threads/7648/
     
    Pim1234, Phaedrus, mynia and 5 others like this.
  2. Offline

    Lokykun

    Yes all premission for the other plugins works.
    If a User Group have the "adminmode.use" premission it works fine.
    Only with '*' i don't hava access to the command.
     
    registered likes this.
  3. Offline

    Shenlong

    Sure, I changed it to a .txt to upload it. Also, the first time I ran it I had just un-commented the items line and used it but I had spaces between the items so it gave me some error (I forget what exactly). Then it automatically moved the line for me someone so I just went with that and fixed the spacing issue and after that is when it happened.
     

    Attached Files:

  4. Offline

    gnftoxic

    That is not my plugin, that is dv90's. You should check the "AutoStop" plugin.
     
  5. Offline

    dak393

    Ahh duh I'm sorry the auto stop and admin looked the same XD I know what the problem is then sorry about that
     
  6. Offline

    LordJason

    This plugin is exactly the kind of thing I needed.
    Some suggestions.
    Allow different adminmode packages(sets of items) to be defined where each package can have god or not. I understand this is basically the /kit functionality, but these 'kits' are temporary. Setup permissions so we can have, adminmode.use.* (for all), or adminmode.use.<packagename> Also if possible, somehow allow each package to define the armor that will be equipped.

    Once we can define these seperate packages and give permissions to different levels of moderators. If possible it would be cool if each one could also run other commands, such as /vanish


    For example: I setup a pack called "spy" that gives just a compass for teleporting. It enables god, and runs /vanish as the user who typed /am. This could be used really quickly for spying on potential hackers.

    I give the permission adminmode.use.spy to whoever I want to be able to use this pack.
    They type /am spy to use it.

    And I'm going to go to sleep now before I start asking mod developers to make a self aware plugin that administers the server for me.
     
  7. Offline

    gnftoxic

    It's not a problem, I try to help out with his plugin from time to time anyways. :p
     
  8. Offline

    dak393

    lol well my mistake for reading too fast
     
  9. Offline

    MacVaultDweller

    Works fine found and fixed error on my part

    Thanks for a great plugin
     
  10. Offline

    FrogInABox

    Can somebody help me, I have set adminmode.use as a permissions for both the group i am in and for myself indiviually (not at the same time of course) and the server says that i do not have permission to use the command /am or /adminmode - i have also tried using adminmode.* as a permission, still to no avail, i am not an op as this overrides some plugins i have and gives me commands i do not want, for the same reason i have not given myself the '*' permission. Any help would be appreciated.
     
  11. Offline

    Bacu

    ain't working on 612.
     
  12. Offline

    FrogInABox

    Can you please update this to work with Minecraft Server 1.4?
    Preferably CraftBukkit Build #617
     
  13. Offline

    Carnes

    We miss this mod. I'll keep checking back every day : )
     
  14. Offline

    fffizzz

    sounds really useful, since on my survival server, we have a warmup and cooldown on /home :D
     
  15. Offline

    MacVaultDweller

    I hope this is updated for 617 soon. Thanks again for a great plugin.
     
  16. Offline

    Travis_Hironak

    Just the same as MacVaultDweller, thanks for this plugin and I hope it will soon be ready for cb617. It's the last one I need to fully upgrade my server.
     
  17. Offline

    gnftoxic

    I will be updating this today, I'm getting my web server back online first, though.

    AdminMode 0.4 has been released.

    This build introduces the global flags for resetting the players' location, health, and items.
    This can be configured by the following:
    Code:
    resetLoc = true
    resetHealth = true
    resetItems = true
    This goes in your plugins/AdminMode/settings.properties file.

    This release can be downloaded here: http://hailxenu.net/download/AdminMode.jar

    Future Plans:
    • Make configurable flags for each group in Permissions.
    Known Issues:
    • Plugin messes up for the player if /am on is done twice.
    • Typing just /am is no longer doable (for any odd reason), looking into this.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
    MacVaultDweller and Koltrast like this.
  18. Offline

    Koltrast

    Thank you! This is a great plugin!
     
  19. Offline

    FrogInABox

    Can somebody please help me to get this plugin working. Every time I try to use /adminmode or /am or /am on|off I get a message that I do not have the permission to use the command. I have got the adminmode.use permission.
    Here is my Permissions yml file:
    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Guest:
            default: true
            info:
                prefix: '&7[GUEST] '
                suffix: '&7'
                build: false
            inheritance: null
            permissions: null
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - general.basic
            - general.spawn
            - general.teleport
            - general.playerlist
            - myhome.home.basic.*
            - iSort.basic.all
            - iSort.basic.chest.*
            - iSort.adv.stack
            - sendgift.send
            - dropchest
            - iConomy.payment
            - iConomy.rank
            - iConomy.list
            - MobBounty.mb
        Moderator:
            default: false
            info:
                prefix: '&2[MOD] '
                suffix: '&2'
                build: true
            inheritance:
            - Member
            permissions:
            - general.teleport.*
            - general.who
            - craftbukkituptodate.broadcast
        Admin:
            default: false
            info:
                prefix: '&9[ADMIN] '
                suffix: '&9'
                build: true
            inheritance:
            - Moderator
            permissions:
            - autosave.save
            - adminmode.use
            - nocheat.notify
    users:
        FrogInABox:
            group: Admin
            info:
                prefix: '&c[GOD] '
                suffix: '&c'
                dropchestmaxradius: 100
            permissions:
            - permissions.group.*
            - iConomy.admin.grant
            - iConomy.admin.stats
            - iConomy.admin.account.*
            - iConomy.rank
            - general.give
            - general.time.set
            - general.spawn.*
            - general.admin
            - permissions.reload
            - bb.admin.*
            - autosave.world.*
            - mobiile.positioning.*
            - mobiile.admin.*
            - myhome.*
            - DisposalChest.*
            - dropchest.destroy
            - dropchest.create
            - dropchest.radius.set
            - dropchest.which
        XTSoulfireTX:
            group: Admin
            info:
                prefix: '&9[NINJA] '
                suffix: '&9'
            permissions: null
        jamwaffles:
            group: Moderator
            info: null
            permissions: null
        90smiller:
            group: Member
        crazymonks:
            group: Member
    
    The Plugins I have are:
    Code:
    AdminMode
    AutoSave
    CraftBukkitUpToDate
    DisposalChest
    DropChest
    General
    Help
    iChat
    iConomy
    InventorySort
    Lockette
    MobBounty
    MyHome
    Nether
    NoCheat
    Permissions
    PermissionsPlus
    RealShop
    SendGift
    If anyone has any ideas on how to fix this, please let me know.
     
  20. Offline

    Travis_Hironak

    @gnftoxic : Thanks for the update, this plugin rocks ! :D

    @FrogInABox : Try to put your permissions nodes between '
    - adminmode.use becomes - 'adminmode.use'
     
  21. Offline

    dak393

    What travis said will work but to simplify out everything for you why not use: - '*' to give yourself access to all commands
     
  22. Offline

    VoidingNixx

    This gave me a java.exe error in Windows and crashes my server. I had to remove this plugin ;-/
     
  23. Offline

    gnftoxic

    Do you happen to have any logs of what the error was?
     
  24. Offline

    VoidingNixx

    @gnftoxic

    Well, I had this crash three times in a row with the error. I just put the plugin back in to duplicate the error, and now it appears to want to work. However, the permission does not seem to be working. I have tried - 'adminmode.use' and - 'adminmode.*' but I keep receiving the error in-game, 'You do not have permission to run this command!' whenever I try to use /adminmode or /am.

    @gnftoxic

    I'm PM'ing you the link now.

    *edit haha, somehow I ended up gettin' bump'd back to the end of page one... you never even asked for that link. These forums mess with my head. ;p

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

    Exone

    This is lovely.
    ++
     
  26. toxic, youre plugin gives me back the freedom to enjoy playing on our own server again! Usually my own "player items" got mixed up with "admin items" that I spawn for building stuff and it really spoiled my gameplay. Finally I can properly differ my "playermode" from my "adminmode" so items dont get mixed up any longer! Thanks alot!
     
  27. Offline

    FrogInABox

    Unfortunately, this makes no difference, I just tried it and am still not allowed to use the command. Any other ideas ?
     
  28. Offline

    Sany_CZ

    If I use admin mode, will it change premisions, so user can use samo commands as admin?
     
  29. Offline

    gnftoxic

    I will look at permissions and see what's going on. Odd that they're not working, as they've always worked properly for me.

    No, it does not change the permissions of the user executing the 'admin mode' function.

    I have found the problem with Permissions, tested against 2.7, and updated the mod to version 0.4.1. This is NOT a required update, unless you are using permissions, as it is the only change.

    http://pwnage.me/download/AdminMode.jar

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

    lastmikoi

    Good plugin, helped me some times.

    However, I noticed that the admin mode don't retrieve my items once I disconnect. That is to say if I disconnect with admin mode activated, I'll lost my old inventory.

    Maybe a future feature ? ^^
     
  31. Offline

    gnftoxic

    I've put a few different things in place to prevent it, it doesn't always seem to work though.
     

Share This Page