Inactive [GEN] DefaultCommands v4.0.0 - The "default" plugin [1.4.5-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by vildaberper, Mar 2, 2011.

  1. Offline

    Laguna

    I have to change for users with permission "Builder" can use the plugins "LWC"?, All it shows the message Access Denied.

    Thank you ;)!

    I get an error when starting the plugin, anyone can help me?. I have the latest version of Bukkit.
    [​IMG]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  2. Offline

    vildaberper

    Hah, no problem. xD

    Thanks for the idea, Ill add it! :D
    It will auto equip armor without any configuration.

    Add 'dc.do.*'.

    Notepad doesnt recognise the linebreaks, use Notepad++ or any other similar program.

    Ask in the LWC thread instead.

    Thats an error in Permissions.
    You should use an official build instead, that usually doesnt have bugs.
     
  3. Offline

    Laguna

    vildaberper, thank you very much
     
  4. Offline

    Live or Die

    Hey all
    how do i make it to be op-only?
    when i put it and deoped myself it still let me do commands like /god or /give.

    please help :)
     
  5. Offline

    vildaberper

    Set op_permissions to true in Config.yml and edit the permission nodes under permissions. :)
     
  6. Offline

    babystompa

    I was wondering how soon will your plugin be compatible with PermissionsBukkit? Also I'm wondering about this error. I don't get this error as an OP but when I take my name off I get this error. Then if I try to use a command you get the following error
    Code:
     Could not pass event PLAYER_JOIN to DefaultCommands
    java.lang.NullPointerException
        at com.vildaberper.DefaultCommands.Perm.hasPermissionSilent(Perm.java:69)
        at com.vildaberper.DefaultCommands.Listener.DCPlayerListener.onPlayerJoin(DCPlayerListener.java:258)
        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)
    2011-07-19 04:31:45 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'dctime' in plugin DefaultCommands v3.5.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:148)
        at com.vildaberper.DefaultCommands.Command.Time.time(Time.java:15)
        at com.vildaberper.DefaultCommands.DefaultCommands.onCommand(DefaultCommands.java:234)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:148)
        at com.vildaberper.DefaultCommands.Listener.DCPlayerListener.onPlayerCommandPreprocess
     
  7. Offline

    vildaberper

    When I understand it, they made it very complicated. xD
    Try downloading the latest devbuild, I think I fixed it.
     
  8. Offline

    JeremyLeory96

    Its me again!

    Yeah... same issue here. I have dc.do enabled but only OPs can pick up stuff
     
  9. Offline

    Live or Die

    Okay ty

    but when i set the op_permission only it dosnt let anyone put or break anyblock.
    and what are the permissions down the config.yml? are thay for op or non-op?

    ty for helping
     
  10. Offline

    scar_

    they are for all as long as u dont use another permission plugin.
    if you use defaultcommands permissions
    delete all the permissions u dont want default users to have.
    ops still have all the permissions.
    add dc.do.* if u want all the users to build in all the worlds or dc.do.world, dc.do.world_nether if thats ur worlds name.
     
  11. Offline

    babystompa

    I think the problems is that i set OP permissions: true but now I can't change it back? I've tried changing it then running the server. When I shut off the server it resets. I've tried running the server changing it then using dc load it still changes back :[

    Also I updated and everytime a non op uses a command I get that error :/ (still can't get op permission: false to stay false)
     
  12. Offline

    vildaberper

    You cant set it to false unless you have Permissions installed.
    You must use some kind of permissions-system. xD
     
  13. Offline

    babystompa

    I'm using permissionsbucket but it doesn't seem to be compatible :p
    I also have the latest build and am still getting those errors. This is my config file

    Code:
    seed: '1909967866463472564'
    enviroment: NORMAL
    spawn: 314.0 66.0 43.0 0.0 0.0
    copy:
    op_permissions: true
    creative: false
    separate_inventory: false
    separate_armor: false
    hungry_cows: false
    hungry_cows_rate: 0.2
    hungry_cows_interval: 10
    poop_despawn_time: 20
    magic_sheep: false
    magic_sheep_rate: 0.35
    magic_sheep_interval: 15
    blood: false
    blood_despawn_time: 0.5
    blood_level: 0.5
    auto_heal: false
    auto_heal_amount: 1
    auto_heal_interval: 5
    home_on_death: false
    sync_time: false
    weather_change: true
    saddled_pig_drop_saddle: false
    leaf_decay: true
    leaf_drop_apple: false
    leaf_drop_apple_rate: 0.01
    leaf_drop_sapling: true
    leaf_drop_sapling_rate: 0.03
    leaf_drop_leaf: true
    leaf_drop_leaf_rate: 1
    long_grass_drop_seed_rate: 0.2
    wood_gravity: false
    friendly_creeper: false
    friendly_ghast: false
    friendly_giant: false
    friendly_monster: false
    friendly_pigzombie: false
    friendly_skeleton: false
    friendly_slime: false
    friendly_spider: false
    friendly_zombie: false
    block_fire_flint_and_steel: false
    block_fire_lava: false
    block_fire_lightning: false
    block_fire_spread: false
    block_tnt_explosion_block_damage: false
    block_creeper_explosion_block_damage: true
    block_fireball_explosion_block_damage: false
    block_tnt_explosion_player_damage: false
    block_creeper_explosion_player_damage: true
    block_fireball_explosion_player_damage: false
    block_drowning_player_damage: false
    block_fall_player_damage: false
    block_fire_player_damage: false
    block_lava_player_damage: false
    block_suffocation_player_damage: false
    block_void_player_damage: false
    block_player_player_damage: false
    block_arrow_player_damage: false
    block_mob_player_damage: false
    block_chicken_spawn: false
    block_cow_spawn: false
    block_creeper_spawn: false
    block_ghast_spawn: false
    block_giant_spawn: false
    block_monster_spawn: false
    block_pig_spawn: false
    block_pigzombie_spawn: false
    block_sheep_spawn: false
    block_skeleton_spawn: false
    block_slime_spawn: false
    block_spider_spawn: false
    block_squid_spawn: false
    block_wolf_spawn: false
    block_zombie_spawn: false
    permissions:
    - dc.do.*
    - dc.who
    - dc.worlds
    - dc.create
    - dc.join.self.*
    - dc.join.other.*
    - dc.join.all.*
    - dc.home.self
    - dc.sethome.self
    - dc.warp.self.*
    - dc.warps
    - dc.disconnect
    - dc.dc
    - dc.flint_and_steel.*
    - dc.repeat
    - dc.online
    -
    
     
  14. Offline

    noron596

    Can I change status message? i mean like I want to change strings to my language, status is in English. for example '&7<player>&2 <status>d hide for &7<players>&2.' . I want to change this status, but can't find it anywhere... any help?
     
  15. Offline

    Asraeh

    /setportal doesn't work how to set it manually in portals.yml?
     
  16. Offline

    vildaberper

    Ill add that to Strings.yml, thanks! :D

    "doesn't work"
    Yes it does, you dont want to set it manually. xD
     
  17. Don't work for me with latest RB and permissionsbukkit and I keep getting those errors :

    Code:
    [SEVERE] Could not pass event PLAYER_CHAT to DefaultCommands
    java.lang.NullPointerException
            at java.lang.String.replace(String.java:2228)
            at com.vildaberper.DefaultCommands.Listener.DCPlayerListener.onPlayerChat(DCPlayerListener.java:439)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:682)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            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)
     
  18. Offline

    DeltaBoss

    Is there a way to shorten all of the commands in permissionsbukkit? I don't want to type in every permission for every command^^

    If not: I suggest doing permission groups, like dc.worldedit for weather, time etc, dc.mobedit for spawning, etc
     
  19. Offline

    ReaperRO

    can you now update with "/give piston" ? :D
     
  20. Offline

    noron596

    I have just found out that your plugin makes non-ops cannot pick up items. I even tried to turn on/off the /nopickup command, still doesnt work. :[ any help?
     
  21. Offline

    scar_

    add dc.do.* if u want all the users to build in all the worlds or dc.do.world, dc.do.world_nether if thats ur worlds name.
     
  22. Offline

    Live or Die

    This plugin dosent work with permissions..

    if somone can help me please do.
     
  23. Offline

    jaytea

    try the dev-build. Its fixed there.
     
  24. Offline

    Josh391

    Thanks for all your help vildaberper...

    Does this plugin work with herochat ?
     
  25. Offline

    vildaberper

    [/FONT][/COLOR]
    What version of Permissions do you use?


    It doesnt support permissionsbukkit yet.
    Ill add support for *, like in Permissions. :)


    Add it in Items.yml.


    Try it, I dont know. :)[/CODE][/quote][/CODE][/FONT][/COLOR][/quote]

    Im too tired to fix it, damn you bukkit forum.[/CODE][/FONT][/COLOR][/quote]
     
  26. Offline

    RustyDagger

    That's Stupid if i do that it places blocks so i have to keep an empty space..........
    How can you smelt cobble if you only have 1 and need 10 or so to fix the other stupid bug where it removes it from the inv and puts it back.... thats going to take a while also its creative not classic so why you trying to make it classic? if you were to keep it classic style then i should not need a furnace to get a block type... or a crafting bench...

    No you cant build as fast as when there is no block there it makes you wait atleast 1/4 a second till it comes back again i surgest you just stop it removing the block in the first place.. or use -1 stacks of items. thats another thing /i really needs to support is - amounts of blocks its not designd to take blocks but to infat give an unlimited supply untill u punch an entity with it but i think bukkit guys fixed that....
     
  27. Offline

    WizardCM

    I have some new ideas!
    1. Offline message system. That way it's easier for administrators (etc) to stay in control + in contact.
    2. Eternal day setting. Sometimes this is just needed for worlds such as freebuild. :p
     
  28. Offline

    cavemaneca

    One of my worlds has a space in the name... how can I make a command work with it? I accidentally did /join to another world and now I can't get back...


    EDIT: Had a recent backup, fixed the temporary issue. Long term issue tho, how do I use commands for worlds with a space in the name? You'd think this would be easy, like enclose the name in quotes or something, but nooooooo
     
  29. Offline

    wbird

    No, you didn't!!!!!! :'(
     
  30. Offline

    noron596

    I modified op_permissisions, changed permissisions, and this is what I've got.
    19:28:02 [SEVERE] java.io.IOException: Not in GZIP format
    19:28:02 [SEVERE] at java.util.zip.GZIPInputStream.readHeader(Unknown
    ce)
    19:28:02 [SEVERE] at java.util.zip.GZIPInputStream.<init>(Unknown Sour
    19:28:02 [SEVERE] at java.util.zip.GZIPInputStream.<init>(Unknown Sour
    19:28:02 [SEVERE] at net.minecraft.server.CompressedStreamTools.a(Sour
    le:8)
    19:28:02 [SEVERE] at net.minecraft.server.PlayerNBTManager.c(SourceFil
    )
    19:28:02 [SEVERE] at net.minecraft.server.World.<init>(World.java:118)
    19:28:02 [SEVERE] at net.minecraft.server.WorldServer.<init>(WorldServ
    ava:27)
    19:28:02 [SEVERE] at org.bukkit.craftbukkit.CraftServer.createWorld(Cr
    erver.java:397)
    19:28:02 [SEVERE] at org.bukkit.craftbukkit.CraftServer.createWorld(Cr
    erver.java:371)
    19:28:02 [SEVERE] at com.vildaberper.DefaultCommands.Misc.addWorld(Mis
    va:902)
    19:28:02 [SEVERE] at com.vildaberper.DefaultCommands.SaveLoad.loadConf
    aveLoad.java:486)
    19:28:02 [SEVERE] at com.vildaberper.DefaultCommands.SaveLoad.loadAll(
    Load.java:53)
    19:28:02 [SEVERE] at com.vildaberper.DefaultCommands.DefaultCommands.o
    ble(DefaultCommands.java:126)
    19:28:02 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(Java
    in.java:126)
    19:28:02 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlu
    JavaPluginLoader.java:857)
    19:28:02 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugi
    mplePluginManager.java:264)
    19:28:02 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(Cra
    rver.java:151)
    19:28:02 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    tServer.java:136)
    19:28:02 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftS
    r.java:284)
    19:28:02 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftS
    r.java:271)
    19:28:02 [SEVERE] at net.minecraft.server.MinecraftServer.init(Minecra
    rver.java:148)
    19:28:02 [SEVERE] at net.minecraft.server.MinecraftServer.run(Minecraf
    ver.java:335)
    19:28:02 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(
    ceFile:422)
    19:28:02 [SEVERE] java.io.IOException: Not in GZIP format
    19:28:02 [SEVERE] at java.util.zip.GZIPInputStream.readHeader(Unknown
    ce)
    19:28:02 [SEVERE] at java.util.zip.GZIPInputStream.<init>(Unknown Sour
    19:28:02 [SEVERE] at java.util.zip.GZIPInputStream.<init>(Unknown Sour
    19:28:02 [SEVERE] at net.minecraft.server.CompressedStreamTools.a(Sour
    le:8)
    19:28:02 [SEVERE] at net.minecraft.server.PlayerNBTManager.c(SourceFil
    7)
    19:28:02 [SEVERE] at net.minecraft.server.World.<init>(World.java:118)
    19:28:02 [SEVERE] at net.minecraft.server.WorldServer.<init>(WorldServ
    ava:27)
    19:28:02 [SEVERE] at org.bukkit.craftbukkit.CraftServer.createWorld(Cr
    erver.java:397)
    19:28:02 [SEVERE] at org.bukkit.craftbukkit.CraftServer.createWorld(Cr
    erver.java:371)
    19:28:02 [SEVERE] at com.vildaberper.DefaultCommands.Misc.addWorld(Mis
    va:902)
    19:28:02 [SEVERE] at com.vildaberper.DefaultCommands.SaveLoad.loadConf
    aveLoad.java:486)
    19:28:02 [SEVERE] at com.vildaberper.DefaultCommands.SaveLoad.loadAll(
    Load.java:53)
    19:28:02 [SEVERE] at com.vildaberper.DefaultCommands.DefaultCommands.o
    ble(DefaultCommands.java:126)
    19:28:02 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(Java
    in.java:126)
    19:28:02 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlu
    JavaPluginLoader.java:857)
    19:28:02 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugi
    mplePluginManager.java:264)
    19:28:02 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(Cra
    rver.java:151)
    19:28:02 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    tServer.java:136)
    19:28:02 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftS
    r.java:284)
    19:28:02 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftS
    r.java:271)
    19:28:02 [SEVERE] at net.minecraft.server.MinecraftServer.init(Minecra
    rver.java:148)
    19:28:02 [SEVERE] at net.minecraft.server.MinecraftServer.run(Minecraf
    ver.java:335)
    19:28:02 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(
    ceFile:422)
    19:28:02 [SEVERE] Error occurred while enabling DefaultCommands v3.5.0 (Is i
    to date?): null
    java.lang.NullPointerException
    at net.minecraft.server.WorldServer.c(WorldServer.java:106)
    at net.minecraft.server.World.a(World.java:2046)
    at net.minecraft.server.Chunk.addEntities(Chunk.java:470)
    at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProvider
    er.java:79)
    at net.minecraft.server.ChunkProviderServer.getOrCreateChunk(ChunkPr
    erServer.java:118)
    at net.minecraft.server.World.getChunkAt(World.java:272)
    at net.minecraft.server.World.getTypeId(World.java:219)
    at net.minecraft.server.World.isEmpty(World.java:223)
    at net.minecraft.server.World.a(World.java:190)
    at net.minecraft.server.WorldProvider.canSpawn(SourceFile:51)
    at net.minecraft.server.World.canSpawn(World.java:95)
    at net.minecraft.server.World.c(World.java:178)
    at net.minecraft.server.World.<init>(World.java:140)
    at net.minecraft.server.WorldServer.<init>(WorldServer.java:27)
    at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:3
    at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:3
    at com.vildaberper.DefaultCommands.Misc.addWorld(Misc.java:902)
    at com.vildaberper.DefaultCommands.SaveLoad.loadConfig(SaveLoad.java
    )
    at com.vildaberper.DefaultCommands.SaveLoad.loadAll(SaveLoad.java:53
    at com.vildaberper.DefaultCommands.DefaultCommands.onEnable(DefaultC
    nds.java:126)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLo
    .java:857)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginMa
    r.java:264)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:15
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java
    )
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:14
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    and abit later.. (after starting the server)

    19:28:33 [WARNING] Task of 'DefaultCommands' generated an exception
    java.lang.NullPointerException
    at com.vildaberper.DefaultCommands.Class.DCWorld.getBoolean(DCWorld
    :156)
    at com.vildaberper.DefaultCommands.Runnable.TimeSync.run(TimeSync.j
    5)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartb
    raftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:36
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    HALP
     

Share This Page