[ADMN/GEN]AdminCmd 7.3.5-time, give, tp, repair,kill, warp,weather,afk,OpenInv [1.5.1]

Discussion in 'Plugin Releases' started by Dark_Balor, Apr 1, 2011.

     
  1. Offline

    Dark_Balor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    AdminCmd - Fork of PlgEssentials:
    [IMG]
    [IMG] Website : www.admincmd.com
    [IMG] Wiki : http://wiki.admincmd.com
    [IMG] BugTracker : http://bug.admincmd.com
    [IMG] Downloads : HERE
    [IMG] GitHub : http://github.com/Belphemur/AdminCmd
    Description

    AdminCMD is a powerful plug-in that brings you commands that can give you total management over your server. Featuring the most widely used commands in Bukkit server management such as: inventory management, banishment of bad players, limitation to teleporting, setting spawn and home way points, and much, much more! Blockface approved and rated as one of the best plug-in by server owners.
    Unleash the power of Bukkit!

    Features
    For the blog : www.admincmd.com

    This post has been edited 98 times. It was last edited by Dark_Balor Jan 13, 2013.
  2.  
  3. Offline

    Sorken

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Dark_Balor
    Its no rush, i was also wondering about /mob cat or /mob ocelot, neither seems to work. For spawning a tame cat vs wild one. Is there some other name i should be using?

    Edit: Hmm, it would seem you could also use /mob Cat:user to spawn a tame cat, tame to someone else (not you).

    This post has been edited 1 time. It was last edited by Sorken Jul 19, 2012.
  4. Offline

    szabilcs14

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Dark_Balor
    I want to ask whether there admincmd/locale Hungarian language file?
    if there is can you give any download link?
    but if you build it does not exist?
    and yet I want to ask whether the accented letters used admincmd?

    If you can understand it more difficult sorry but google translator: S
  5. Offline

    craftovski

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Everything is working perfectly fine except /search command that searches every player who connected with that ip.
    When i try to do that command it searches for items and its ID's.

    If anyone knows a solution or if im doing something wrong pls help.

    Ty
  6. Offline

    Dark_Balor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sorry there isn't any Hungarian translation for the plugin, I don't had any translator for that.
    (By the way, I'm still looking for translators in EVERY language for the plugin).
    I'm sure you have an other plugin installed that have a search command and have taken over AdminCmd search command.
    You have 2 choices :
    1. Search and disable the plugin in question (most annoying choice)
    2. Put the search command as prioritized in the commands.yml file in the AdminCmd directory (faster and easier method)
    @Sorken : You can't spawn tamed animal with AdminCmd, since the semi-colon is used to spawn ... rided animal (like skeleton on spider etc ...)

    This post has been edited 1 time. It was last edited by Dark_Balor Jul 23, 2012.
  7. Offline

    craftovski

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ty for replying!
    That worked, now when i use /search command i see its going with AdminCmd plugin, But i dont know why
    all i get is blank respond in chat like there is nothing on that ip but i just checked IP of 1 player and typed exactly the same ip in. Maybe i did it wrong, here is what i typed: /search -i 11.11.1.11
    (IP 11.11.1.11 is example only)
    So if u know why it happened pls help

    Ty again.
  8. Offline

    Sorken

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    You cant spawn wild cats either though, and that should be doable atleast.
  9. Offline

    Dark_Balor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Strange ... Don't forget that it's the name of the Bukkit Entity that need to be used ... I'll check over.

    mmmh I'll look the command.
    @Lathanael : can you check that when you have the time ? thanks :)
  10. Offline

    diamaunt

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Dark_Balor... I'm hoping you can help. I'm using the latest admincmd on the latest tekkit server, and all the commands are defaulting to "on" for everybody, I'm also using bukkit permissions, and I've set admincmd.*: false for the default group, then for the users group, I had turned on the commands I wanted them to have, this worked with an older version of admincmd. but now, I'm not getting any overrides... ie, if I have all set to false for default, then admincmd.player.fly: true, the player can't fly, and it says "you don't have permission" and shows admincmd.player.fly.

    help? suggestions? anything, please.

    This post has been edited 1 time. It was last edited by diamaunt Jul 27, 2012.
  11. Offline

    craftovski

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Dark_Balor,
    Did u maybe found a time to take a look into that search command?
    Not rushing it or anything just wondering, cause it would be useful to know how many accounts have been accessed with same ip. Thx !

    This post has been edited 2 times. It was last edited by craftovski Jul 27, 2012.
  12. Offline

    craftovski

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Dark_Balor
    1 more thing i just found now, that is incompatibility with Citizens plugin. I started the server without Citizens and AdminCmd plugin works flawless, then i put Citizens in, start the server and in console i saw this http://pastebin.com/53YCdzvp .
    I removed Citizen to check what happened and error was still there, then i used 1 of the backups where i didnt Mix AdminCmd with citizens and did it happened again, after Citizen is mixed with AdminCmd there is that error and after Citizens is removed Error is still there, so Citizens damaged something or Confused AdminCmd.

    I hope i explained it so u can understand, if i find anything else on this matter ill let you know.

    Ty
  13. Offline

    Dark_Balor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    About the search command I didn't had the time.

    For your other error that's not a real problem, won't disable anything, you can do with it :)
    If you want to get rid of it download the dev version ;)

    It's surely a problem with your permission plugin, if you get the : you don't have the perm ...
    Or you have an another plugin that having that command also, then put the fly command as prioritized.
  14. Offline

    diamaunt

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    with respect, I'm using bukkit permissions plugin, it's working normally for example, I have permissions.*: false for default users, but for regular users, I have permissions.build: true, and that works. but all admincmd commands, (fly was just an example) do not work that way, if I put admincmd.* in the default group, and put any other permissions in for regular users. it still doesn't work.

    Code:
    groups:
      default:
        permissions:
          permissions.*: false
          admincmd.*: false
      admin:
        permissions:
          permissions.*: true
          admincmd.*: true
      user:
        permissions:
          admincmd.player.list: true
          admincmd.player.msg: true
          admincmd.player.fly: true
          admincmd.spawn.tp: true
          admincmd.time.*: true
          admincmd.tp.home: true
          admincmd.tp.location: true
          admincmd.tp.to: true
          admincmd.warp.tp: true
          admincmd.weather.clear: true
          admincmd.server.motd: true
          admincmd.server.news: true
          admincmd.server.repeat: true
          admincmd.tp.toggle: true
          cabinet.abovechest: true
          cabinet.adjchest: true
          cabinet.covered: true
          permissions.build: true
        inheritance:
        - default
    
    the users in 'user' group can't use any of the admincmd commands that are listed as 'true' above. however, people in the admin group can.
  15. Offline

    Dark_Balor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    you shouldn't put admincmd.* : false in the default group.
    Because you use Inheritance, it seems that that false node have more power than the one you gave in the group.
    By default, only OP can use AdminCmd commands, just delete the line admincmd.* : false in the default group and everything should be working correctly.
  16. Offline

    khamseen_air

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I love how you say that as though that means it can't be the permissions plugin at fault. I recently switched away from Permissions Bukkit because it's so bugged that half my plugins permissions nodes don't even work with it any more.
    Dark_Balor likes this.
  17. Offline

    diamaunt

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    actually, after I figured out that the user I'd been testing with had been opped by someone.... it's all working great. hope your new perm thingy works good for you.

    This post has been edited 1 time. It was last edited by diamaunt Jul 30, 2012.
  18. Offline

    diamaunt

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm sorry to have bothered you... after your reminder that ops can use everything.... I realized that the user I was testing with had gotten opped, so the perms weren't being applied...

    apologies for bothering you, and please, keep up the good work!

    yes, I feel stupid now.

    This post has been edited 1 time. It was last edited by diamaunt Jul 30, 2012.
  19. Offline

    Sorken

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Dark_Balor
    Mind putting out a dev version which fixes those deprecated events? Its making my log all messy.
  20. Offline

    Dark_Balor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have nearly finish the SQL Part, it should be done today or tomorrow then I'll release a Stable version for the 1.3.1 and the 1.2.5
  21. Offline

    Sorken

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sounds good!
  22. Offline

    Ltulon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I love the plugin it“s very good !!!:D
    But how can I turn of when i“m be an admin and die that I“m behold my items!!
    It“s very imprtant
    Please give me an answer!!!
    LG Ltulon
  23. Offline

    khamseen_air

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Remove this permission node 'admincmd.spec.noloss'
  24. Offline

    Dark_Balor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I can finally announce :
    Version 6.5



    New Features

    1. [NEW FEATURE] It is now possible to define group specific spawns. You define a list of groups in the config.yml. The groups will then be available as permissions in the form of: admincmd.respawn.<group Name>. If a user has one of the permissions he will be teleported to their specific group spawn or if none set to the default spawn point.
    2. [NEW FEATURE] Added commands to teleport to the group spawns and to set them.
    3. [BIG NEW FEATURE] Added import option of most of Essentials datas. See Issue #31
    4. [NEW FEATURE] Added an option in the config (turnPowersOff: true|false) to turn off all powers a player currently has when he leaves the server. See Issue #163
    5. [NEW FEATURE] Added an option to the config to en-/disable death messages. Also added a deathMessages.yml file which contains different messages for different death causes. See Issue #153 and Issue #221
    6. [ENHANCEMENT] Added a permission check to the /spawn command to prevent players from teleporting to another wolrds spawn location. They always can teleport to their current wolrds spawn location. Node: admincmd.spawn.tp.<worldname>, the name is the name of the desired world in lower case! See Issue #191
    7. [ENHANCEMENT] Added a new locale message displayed when the teleport delay is activated to prevent the user that the tp will only occur when the time is over. See Issue #206
    8. [NEW FEATURE] Possibility to set in the commands.yml some command to be executed on FIRST JOIN of the player. By default the feature is disabled, you can enable it in the configuration file. See Issue #216
    9. [MAJOR FEATURE] Added MYSQL AND SQLITE SUPPORT. By default AdminCmd will convert everything to SQLite. If you want to go back to YML, just change the convertTo to yml in the configuration file. See Issue #230

    Bug Fixes

    1. [BUG FIX] Corrected the lost of the fly when having the power and dying. See Issue #145
    2. [BUG FIX] Incorrect display of the ā€œdon't have the permā€ message for the Colored Sign. See Issue #147
    3. [BUG FIX] Corrected error when an admin wanted to teleport to a users home and forgot to add teh home name. See Issue #151
    4. [BUG FIX] Made sure the Config is saved when server stops normally
    5. [BUG FIX] Fixed /search -i <IP> displaying a player twice if he is currently online. See Issue #152
    6. [BUG FIX] Fixed uncatched NumberFormatException thrown while using /banlist or /mutelist and not providing a number as input. See Issue #155
    7. [BUG FIX] Fixed fly not reactivated when returning to survival mode and having the Fly power. See Issue #154
    8. [MAJOR BUG FIX] Corrected the bugs with the processing commandArgs when using some empty string like ' ' at parameter. See Issue #158
      1. Example : msg b 'test ' 'test' 'sdsdsd' ' ' ' ' '' 'attatat atatat'
    9. [BUG FIX] Fixed NPE in the RemovePowerTask which occured if a player logged of and had a temp power which ran out as he was offline. See Issue #156
    10. [MAJOR BUG FIX] Correction of a miscalculation in chunk check before TP, this bug was leading to random chunk generation. See Issue #165
    11. [BUG FIX] Fixed NPE in the broadcastMessage function invoked by defining null strings in the locale with ' '. See Issue #169
    12. [BUG FIX] Saving correctly the inventory and the armor when dying and having the noloss or nodrop power. See Issue #180
    13. [BUG FIX] /whois command for offline player is now returning the right time. See Issue #167
    14. [SMALL BUG FIX] Correction in the Help when a plugin don't have any description for their commands. See Issue #159
    15. [ANNOYING BUG FIX] Corrected the bug with the permission limit when trying to get them from a another thread than the main one. See Issue #187
    16. [BUG FIX] Corrected a bug when trying to open a chest of an offline player when some incorrect file (not .dat) where in the players folders. See Issue #205
    17. [BUG FIX] OpenInv : openinv an online player, player goes offline, edit inventory, player comes back online with old inventory
    18. [BUG FIX] Corrected a little mess up with the banlist and the mutelist locale. See Issue #194.
    19. [BUG FIX] Corrected a problem with the command aliases system. When a command needed minimum one parameter to work, and this parameter was given in the alias, AdminCmd wasn't seeing it and return an error. See Issue #186
    20. [COMPATIBILITY] /mob command work with R4.0 and R4.1 See Issue #198 & See Issue #208
    21. [BUG FIX] Correct a possible NPE when sending news/motd/etc … when the file containing the message is empty. See Issue #207
    22. [BUG FIX] Space in the Ban default reason (after the by). No more NPE in the /getid command when used from the console. See Issue #211
    23. [BUG FIX] No more corruption of coloured sign when editing them. See Issue #213
    24. [BUG FIX] Corrected the display of the deathMessages. See Issue #218
    25. [SPELLING ERROR] Corrected an entry in the deathMessages.yml (poisen instead of poison). See Issue #219

    Recent Changes

    1. [OPTIMIZATION] Some optimization of the use of the fly. See Issue #145
    2. [TRANSLATION] Added translation in German of the Readme.txt (made by MrMysterious)
    3. [WORKAROUND] Added a workaround to be sure that the WebBrowser library is correctly loaded, and if not the case, only write a little warning instead of an error.
    4. [ENHANCEMENT] Added support for bold, italic, underline and strikethrough in texts. See Issue #170
    5. [DELETE] No more use of WebBrowser, the plugin will still download it (since there is some usefull class as dependencies) but will not use it. No more use of CPU, crawling other page, etc … AdminCmd return to be as light as possible !
    6. [ENHANCEMENT] Added a broadcast sent when a player is kicked due to beeing AFK too long (with locale). Also added a message sent to the console when the kick occurs! See Issue #217

    Known Bugs

    1. [Minor]
    2. [Moderate]
    3. [Major]

    API for developers
  25. Offline

    Ltulon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    where does i have to write it in???
    because i don“t have a permissions.yml in the admin cmd
    i hope you understand me!!![sheep]

    This post has been edited 3 times. It was last edited by Ltulon Aug 7, 2012.
  26. Offline

    craftovski

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You need permission plugin, i suggest PEX(PermissionsEx)
  27. Offline

    Sorken

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Some sweet fixes and updates there, i will start testing it right away.

    Edit:

    Gives this NPE on first load. And stop command stops working, on second load it seems to work again. Is it related to SQL conversion?

    Code:
    13:52:57 [SEVERE] Error occurred while enabling AdminCmd v6.5.1 (BUILD 08.08.2012 @ 13:47:41) (Is it up to date?)
    java.lang.NullPointerException
            at org.bukkit.craftbukkit.CraftServer.getWorld(CraftServer.java:786)
            at be.Balor.Player.FilePlayer.getLocation(FilePlayer.java:254)
            at be.Balor.Player.FilePlayer.getLastLocation(FilePlayer.java:249)
            at be.Balor.Player.PlayerManager.convertFactory(PlayerManager.java:85)
            at be.Balor.bukkit.AdminCmd.ACHelper.convertFactory(ACHelper.java:1626)
            at be.Balor.bukkit.AdminCmd.ACHelper.dataWrapperInit(ACHelper.java:1385)
            at be.Balor.bukkit.AdminCmd.ACHelper.setCoreInstance(ACHelper.java:1201)
            at be.Balor.bukkit.AdminCmd.AdminCmd.onEnable(AdminCmd.java:227)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247)
            at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
            at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    
    Edit 2:
    It also wiped all players homes.

    This post has been edited 2 times. It was last edited by Sorken Aug 8, 2012.
  28. Offline

    Dark_Balor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Version 6.5.1



    New Features



    Bug Fixes

    1. [MAJOR] Corrected the no-mob spawning.

    Recent Changes

    1. [MINOR] Removed the use of an external library.
    2. [OPTIMIZATION] Of the convertor when the world of the home is not loaded.

    Known Bugs



    API for developers


    Please redownload and use the 6.5.1 ... a major bug as slip out my control ...
    By the way, in every case, do a backup of the userData/worldData folders (even if nothing should happen to them).
    Normally with SQLite and MySQL all problem for the player data should be resolved.
  29. Offline

    Dark_Balor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah related to conversion to SQL ...
    For now do that : stop server.
    in config : put dataWrapper and convertTo at YML (then you'll be able to still have your server working correctly with old format).
    In the folder of admincmd you can delete the admincmd.db.
    restart the server, nothing will be converted and you'll still be able to use your homes. I'll check for a fix ... I thought I done it --''

    @Sorken : Okay now it's corrected in the 6.5.2.
    You can now re-configure convertTo to sqlite

    This post has been edited 1 time. It was last edited by Dark_Balor Aug 8, 2012.
  30. Offline

    Sorken

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Good, i will do another testing run on that build and report back any problems i find.

    Edit:
    Startup looks very good now. No errors, reports fine on not converting homes for non-loaded world. But if i may suggest, instead of listing every user name (i have 3800, im sure others have more) perhaps only display warns/errors and what user they belong to.

    Homes are converted and working now with SQL. I will start using it and if anything pops out ill give you shout.

    This post has been edited 1 time. It was last edited by Sorken Aug 8, 2012.
  31. Offline

    Dark_Balor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ah ... forgot to put that part on the "verbose" option. Well I'll do it, no really big deal.
    By the way the error you had is quite interesting, it mean at a point, one of the home was corrupted, because the "world" in the location (location is formed by world,x,y,z,pitch,yaw) was not set ... it shouldn't happen ...

    More reason to switch to SQL ...
  32. Offline

    Ltulon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Okay now i have PEX and where does i have to write admincmd.spec.noloss in?? ?

Share This Page