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

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

  1. Offline

    Dark_Balor

    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
     
  2. Offline

    Dark_Balor

    @Sorken : added on todo list
    @Live or Die : I can't do anything because it's related to the plugin you reloaded. Meaning that you have to ask the plugin dev to look into it.
     
  3. Offline

    diamaunt

    hey, it's me again, noticed this in the log last night, it says report it, so I'm reporting it...
    this is from version 5.7.5
    Code:
    2011-08-10 02:07:27 [SEVERE] [AdminCmd] The command bal_timeday throw an Exception please report the log to this thread : http://forums.bukkit.org/threads/admincmd.10770
    2011-08-10 02:07:27 [SEVERE] java.util.ConcurrentModificationException
    2011-08-10 02:07:27 [SEVERE]    at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
    2011-08-10 02:07:27 [SEVERE]    at java.util.AbstractList$Itr.next(Unknown Source)
    2011-08-10 02:07:27 [SEVERE]    at org.bukkit.craftbukkit.CraftWorld.getPlayers(CraftWorld.java:551)
    2011-08-10 02:07:27 [SEVERE]    at org.bukkit.craftbukkit.CraftWorld.setFullTime(CraftWorld.java:405)
    2011-08-10 02:07:27 [SEVERE]    at org.bukkit.craftbukkit.CraftWorld.setTime(CraftWorld.java:394)
    2011-08-10 02:07:27 [SEVERE]    at be.Balor.Tools.Utils.setTime(Utils.java:297)
    2011-08-10 02:07:27 [SEVERE]    at be.Balor.Tools.Utils.timeSet(Utils.java:307)
    2011-08-10 02:07:27 [SEVERE]    at be.Balor.Manager.Commands.Time.Day.execute(Day.java:44)
    2011-08-10 02:07:27 [SEVERE]    at be.Balor.Manager.ACCommandContainer.execute(ACCommandContainer.java:43)
    2011-08-10 02:07:27 [SEVERE]    at be.Balor.Manager.CommandManager$ExecutorThread.run(CommandManager.java:337)
    
    and
    Code:
    2011-08-10 04:24:33 [SEVERE] [AdminCmd] The command bal_tpto throw an Exception please report the log to this thread : http://forums.bukkit.org/threads/admincmd.10770
    2011-08-10 04:24:33 [SEVERE] java.lang.StringIndexOutOfBoundsException: String index out of range: 15
    2011-08-10 04:24:33 [SEVERE]    at java.lang.String.charAt(Unknown Source)
    2011-08-10 04:24:33 [SEVERE]    at java.util.regex.Matcher.appendReplacement(Unknown Source)
    2011-08-10 04:24:33 [SEVERE]    at java.util.regex.Matcher.replaceAll(Unknown Source)
    2011-08-10 04:24:33 [SEVERE]    at java.lang.String.replaceAll(Unknown Source)
    2011-08-10 04:24:33 [SEVERE]    at be.Balor.Manager.LocaleManager.get(LocaleManager.java:100)
    2011-08-10 04:24:33 [SEVERE]    at be.Balor.Tools.Utils.I18n(Utils.java:248)
    2011-08-10 04:24:33 [SEVERE]    at be.Balor.Tools.Utils.sI18n(Utils.java:224)
    2011-08-10 04:24:33 [SEVERE]    at be.Balor.Tools.Utils.tpP2P(Utils.java:329)
    2011-08-10 04:24:33 [SEVERE]    at be.Balor.Manager.Commands.Tp.TpTo.execute(TpTo.java:50)
    2011-08-10 04:24:33 [SEVERE]    at be.Balor.Manager.ACCommandContainer.execute(ACCommandContainer.java:43)
    2011-08-10 04:24:33 [SEVERE]    at be.Balor.Manager.CommandManager$ExecutorThread.run(CommandManager.java:337)
    keep up the good work!
     
  4. Offline

    Switch0r

    This plugin rules :D
    Can you add "kit" in the next release plz.
     
  5. Offline

    marvinej

    players are still able to /msg when muted could you fix this
     
  6. Offline

    Dios

    What about "multiline strings" feature in locales?
    Something like:
    Code:
    NEWS: |
        §cLine 1
        §fLine 2
        §7Line 3
        §fLine 4
    
    Presently all lines composed into one string on output.
    Or better to carry out news to seperate yml file. And structure it so each string have a datestamp field for grouping output strings by days. And of course templates in main config file.

    Or…. All in one file
    Code:
    settings:
        groupmode: 'day'
        template: '%shortDate - %text'
        showlastitemscount: 40
        showlastdayscount: 20
        lines: 9
    news:
        1:
            active: true
            author: Salvatore
            groups: all
            worlds: nexus, village
            datestamp: "2011-07-18 19:55:28 +0300"
            text: "Hot discounts for meat! Time limited offer!"
        2:
            active: false
            author: Diego
            groups: Builders
            worlds: all
            datestamp: "2011-07-11 19:55:28 +0300"
            text: "worldedit updated! hallelujah!" 
    On second thought multiline strings will be fully sufficient for my server.

    And how can i help with translation? I could do russian version.
     
  7. Offline

    mejibhukob

    Guys .. how to spawn mobs?
    /mob [ case sensitive ] {number} xD where i can get mob [ case sensitive ] (IDs) or how they are named in this system
     
  8. Offline

    an0x

    -Chicken
    -Cow
    -Creeper
    -Ghast
    -Giant
    -Monster
    -Pig
    -PigZombie
    -Sheep
    -Skeleton
    -Slime
    -Spider
    -Squid
    -Wolf
    -Zombie
     
  9. Offline

    Nitnelave

    how about allowing to spawn a mob x blocks in front of you? Like /mob MobName number distance.
    And by the way, you have a typo in the mob command instruction in the first post.
     
  10. @Dark_Balor
    When banning someone, the default message is "You have been ban by someone" and it should be "You have been banned by someone".

    When motd is enabled, it should be the first thing that is displayed upon login. Any other plugin output can come later.

    When enabling motd news also starts working, i dont want news to activate unless i specifically acticate it.

    in config file, it says: glinding while it should most likely be: gliding
     
  11. Offline

    Dark_Balor

    @diamaunt : wow interesting exception you have.
    1) When you set the day, a player left or enter (maybe more) and the server didn't liked it ... mmh I'll have to rework some part of the code.
    2) ... there must be a problem in the locale file ... witch ? I don't know ...

    @marvinej : not a bug, it's voluntary, I'll add a config to make pm muted to.
    @Dios : Already multiline : use /n as line separator in the string.
    For the Russian locale, you just have to take the en_US.yml file, translate it, and give it to me :) I'll add it in the package.

    @Nitnelave : added in todo list
    @Sorken : thanks, corrected in dev version.
     
  12. Offline

    tmsullivan333

    Hi, first off I want to say this is a great plugin I love all the commands you are able to do with this :)

    also sorry if this has been asked/addressed before...
    the server I run is just me and a very small group of friends and I'm not always able to stay on as long as some of them, so I really liked having the stop command that the basic minecraft/bukkit server has but this plugin seems to over ride that command.

    Is there any possible way to get that command working again?

    Thanx
     
  13. Offline

    khamseen_air

    If you mean the '/stop' to shut down the server, I've not noticed this plugin override the normal one, it's also not listed in it's functions in the OP.
     
  14. Offline

    tmsullivan333

    I just found out it was another plugin i was using haha but thanks
     
  15. Offline

    khamseen_air

    No probs, glad you got it sorted. :)
     
  16. Offline

    d140c

    i dont understand where shall i put all the code thats in the boxes for it to work?
     
  17. @Dark_Balor
    If i remove locale files, will the plugin auto-recreate em?
    Since i run from a ramdisk i want to minimize the content i put there.
     
  18. Offline

    Dark_Balor

    @d140c : If you don't know, you don't need it. It's only when you are using a Permissions Plugin. By default, to make the plugin works, you just need to be an OP (your pseudo in the ops.txt file)

    @Sorken : yep always.
     
  19. @Dark_Balor
    Downloaded the dev version, still didnt get my MOTD text moved up, did you perhaps reply before i edited the extra stuff in?
     
  20. Is the OddItem support activated as soon as the plugin finds it? If so i could get rid of OddGive as your plugin provides the same functions :)
     
  21. Offline

    Dark_Balor

    I just pushed now the dev version ^^'
    And for the Motd ... and the news message, it's the only to thing related with the locale file, meaning you'll get the default motd and the default news if you delete the locale file.

    @Lathanael : Yes of course :) You can see it in the server log if my plugin find OddItem.
     
  22. I dont want to delete the locale file, i want to delete the german locale which i dont use :)
     
  23. Offline

    DaMaster9703

    Could you add something to AdminCmd that automatically reloads the server every so minutes? Maybe add it to the config file like this:
    autoReload: true/false then Minutes: 20
     
  24. Updated helpfile again ;)
     
  25. Offline

    algiuxas

    Hello once again :) I came up with a suggestion, could you implement a ban-ip command? I find the /ban command's reason functionality very useful, and it would be great if you added the same thing for ban-ip command :)
     
  26. Offline

    newsupast

    Hey i have a problem
    i have recently enabled the MOTD and im sure that i have set up everything correctly
    The server the mod is running on keeps telling me that the event PLAYER_JOIN could not been passed to AdminCmd

    17:43:36 [SCHWERWIEGEND] Could not pass event PLAYER_JOIN to AdminCmd
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
    at be.Balor.Tools.Utils.sParsedLocale(Utils.java:474)
    at be.Balor.Listeners.ACPlayerListener.onPlayerJoin(ACPlayerListener.java:99)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:124)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    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)
     
  27. @Dark_Balor
    Option to customize /who output?
    Allowing you to use Name or Displayname, or even a combination of like Prefix Name
     
  28. Offline

    netfire

    Hello, sorry for my bad english.
    If I say /inv or /invisible, then my server crashed, but in server.log is not error messages. Only this:
    Code:
    2011-08-12 18:14:12 [INFO] Read timed out
    Sometimes server no crashed and sometimes crashed, is it your bug? Before update to new version AdminCmd it was good and server no crashed.
     
  29. Offline

    Dark_Balor

    @algiuxas : added in todo list
    @newsupast : In the config file, you must put
    Code:
    MessageOfTheDay: true 
    not
    Code:
    MessageOfTheDay: 'true'
    or anything else. Just
    Code:
    true
    .
    @Sorken : not for now, maybe later
    And for the locale, it's recreate all when deleted.
    @netfire : can't do anything for that issue. And I can't tell if it's having anything to do with my plugin or your server. It's a "common" issue that can happen to every minecraft server.
    @DaMaster9703 : I'll see
     
  30. Offline

    newsupast

    Ah ok i seem to have accidently copy/pasted the whole MOTD msg into the config, working now.
    Thanks for the fast support and keep up the good work
     
  31. @Dark_Balor
    /msg is also infected with the evil displayname making it kludgy. When i message someone is lists all my prefixes, towns and titles before my name.. I know who i am .. why do they need to be there?

    Imagine doing a /who with 20 players online everyone belonging to a town, 5 of those also have an addictional title due to being a mayor.. it may generate close to a whole page.. if you have more users on it could generate a longer list then you can see. Thats just towny, imagine listing groups, prefixes and titles from other plugins...
     

Share This Page