Inactive [MISC] CommandBlocker Alpha 1.0 - Recoded! [DevBuild 1.4.4]

Discussion in 'Inactive/Unsupported Plugins' started by Bestora, Feb 22, 2012.

  1. Offline

    Bestora

    where is the line
    Message: §c [CommandBlocker] This Command is blocked!

    ?
     
  2. Offline

    Adrenaline

    When i add this, have this error:
    PHP:
    2012-04-03 08:04:08 [SEVERECannot load plugins/CommandBlockerConfig.yml
    org
    .bukkit.configuration.InvalidConfigurationExceptionunacceptable character '�' (0xFFFDspecial characters are not allowed
    in 
    "<string>"position 9
        at org
    .bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
        
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:143)
        
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109)
        
    at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:177)
        
    at me.Bestora.CommandBlocker.FileMaker.<init>(FileMaker.java:19)
        
    at me.Bestora.CommandBlocker.main.<init>(main.java:22)
        
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144)
        
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
        
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
        
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
        
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
        
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
        
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
        
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused byunacceptable character '�' (0xFFFDspecial characters are not allowed
    in 
    "<string>"position 9
        at org
    .yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
        
    at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
        
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
        
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
        ... 
    18 more
    I use NotePad++ to edit this file.. dont know why this error appear
     
  3. Offline

    Bestora

    Code:
    Message: §c [CommandBlocker] This Command is blocked!
    BlockedCommands:
      NonOP:
      - /stop
      - /reload
      - /plugins
      - /jobs~browse
      - /jobs~info
      - /jobs~leave
      - /op
      - /pex~user
      - /pex~group
      - /pex~promote
      - /pex
      OP:
      - /reload
      - /pex
      - /plugins
      - /jobs~leave
      - /pex~user
      - /pex~group
      - /pex~promote
      - /op
      User:
        testuser:
        - /blockedusercommand
        - /blatest
        - /lalauserllala
        - /test~this
        testuser2:
        - /blockedotherusercommand
        - /blaothertest
        - /lalaotheruserllala

    It works for me...
    Do you use 0.7?
    Do you use [TAB]?
     
  4. Offline

    Adrenaline

    Yes 0.7 and dont use TAB :) i know what is it "yaml" ;)

    @Edit
    Fail.. i use 0.6 version D:
     
  5. Offline

    Bestora

    :D there is the problem
    And you say 0.7 -.-
     
  6. Offline

    jaZz_KCS

    still working in 1.2.4
    havnt tested 1.2.5 yet
     
  7. Offline

    Bestora

     
  8. Nice Plugin
     
    Bestora likes this.
  9. Offline

    ThunderWaffeMC

    How do I get my config file and my commandblocker folder? There is none for me.
     
  10. Offline

    Bestora

    The config file is in the plugin folder
     
  11. Offline

    Valcorb

    Is it possible to block commands for certain people?
     
  12. Offline

    Bestora

    look at the example:
    Code:
    Message: §c [CommandBlocker] This Command is blocked!
    BlockedCommands:
      NonOP:
      - /stop
      OP:
      - /reload
      - /op
      User:
        Valcorb:
        - /blockedcommand
        Bestora:
        - /ban~all
        Notch:
        - /kill
     
  13. Offline

    MoseMister

    err, just wanted you to know, it works on craftbukkit 1.2.5 1.0, but it take's 3-4 goes before it bans the command.
    so think you can fix that. this is the plugin i have been serching for 1 year, i was so glad i found it, then The problem happoned, i was almost in tears. HELP
     
  14. Offline

    NightMare7189

    Thanks for making this dude, I had some op who could use commands like /stop and some did but when I downloaded this, it was fantastic and great :D Thanks for making this plugin dude. My server would of been unsafe if You hadn't made this and Please update this to 1.2.6 when it comes out. I love you :D No Homo
     
  15. Offline

    Adrenaline

    Bukkit: 1.2.5 Recommend
    CommandBlocker 0.7
    PHP:
    2012-04-18 13:40:15 [SEVEREorg.bukkit.configuration.InvalidConfigurationExceptionunacceptable character '?' (0xFFFDspecial characters are not allowed
    in 
    "<string>"position 9
    2012
    -04-18 13:40:15 [SEVERE]    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    2012-04-18 13:40:15 [SEVERE]    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:143)
    2012-04-18 13:40:15 [SEVERE]    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109)
    2012-04-18 13:40:15 [SEVERE]    at me.Bestora.CommandBlocker.blockuser.readuser(blockuser.java:31)
    2012-04-18 13:40:15 [SEVERE]    at me.Bestora.CommandBlocker.Listener.onPlayerCommandPreprocess(Listener.java:27)
    2012-04-18 13:40:15 [SEVERE]    at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
    2012-04-18 13:40:15 [SEVERE]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    2012-04-18 13:40:15 [SEVERE]    at java.lang.reflect.Method.invoke(Method.java:616)
    2012-04-18 13:40:15 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    2012-04-18 13:40:15 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    2012-04-18 13:40:15 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
    2012-04-18 13:40:15 [SEVERE]    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:814)
    2012-04-18 13:40:15 [SEVERE]    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
    2012-04-18 13:40:15 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
    2012-04-18 13:40:15 [SEVERE]    at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:140)
    2012-04-18 13:40:15 [SEVERE]    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
    2012-04-18 13:40:15 [SEVERE]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    2012-04-18 13:40:15 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    2012-04-18 13:40:15 [SEVERE]    at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:83)
    2012-04-18 13:40:15 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    2012-04-18 13:40:15 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
    2012-04-18 13:40:15 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
    2012-04-18 13:40:15 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    2012-04-18 13:40:15 [SEVERECaused byunacceptable character '?' (0xFFFDspecial characters are not allowed
    in 
    "<string>"position 9
    Line 9:
    - /jobs~leave
     
  16. Offline

    spy85

    PLEASE ALLOW GROUP MANAGER, PERMISSIONS, AND ALL THAT TO WORK WITH THIS SO U CAN DISABLE CERTAIN COMMANDS FOR CERTAIN GROUPS!!!!!!
     
  17. Offline

    Adrenaline

    Bug: Cannot type /spawn when i have blocked command example: /speed
     
  18. Could you do make that commands are block during a time when player take damage plz ?
     
  19. Offline

    Valcorb

    Is it possible to get the source code of this plugin? Or atleast have the option to set the save location for this file, it's annoying that it is in my main plugins folder instead of plugins/CommandBlocker
     
  20. Offline

    RobeS

    Any 1.2.5 updates for this plugin?
     
  21. Offline

    Bestora

    RECODED!! UPDATED!!!
    Ready for 1.4.4!!

    NEW CONFIG! Please delete your old CommandBlocker Files!!
    Now you can use Space instead of ~
    Changelog in BukkitDev!​
     

Share This Page