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. MySQL?

    Oh also, if I haven't suggested it yet, can you add a command to use a secondary inventory (like /dc inv 2 to use and /dc inv 1 to switch back) ...
    I think I did suggest this...not sure.
     
  2. Offline

    Ninjas Schlay

    Whenever I run version 3.3.0 of Default Commands I get an error (I have Bukkit 803) Also the plugin simply doesnt work. I can use some commands from the console, but none from my player ingame. I tried searching .DS_Store in finder (I have a mac) And can't seem to troubleshoot the problem myself as I have no idea anything about coding. Also my commands.yml file keeps getting overridden whenever I start my server.

    23:29:42 [SEVERE] Error occurred while enabling DefaultCommands v3.3.0 (Is it up to date?): File exists with the name '.DS_Store' and isn't a folder
    java.lang.IllegalArgumentException: File exists with the name '.DS_Store' and isn't a folder
    at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:358)
    at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:346)
    at com.vildaberper.DefaultCommands.Misc.addWorld(Misc.java:1197)
    at com.vildaberper.DefaultCommands.SaveLoad.loadConfig(SaveLoad.java:233)
    at com.vildaberper.DefaultCommands.SaveLoad.loadAll(SaveLoad.java:55)
    at com.vildaberper.DefaultCommands.DefaultCommands.onEnable(DefaultCommands.java:44)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:132)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:110)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  3. Offline

    vildaberper

    Nope, this plugin will not use mysql. :)

    Yeah maybe, but I though about releasing it as another plugin.

    I see you are not running Windows or Linux, so I have no idea whats wrong. xD
    Done think it has anything to do with this plugin though.
     
  4. Offline

    krnel

    Any idea for MultiVerse and/or Citizens conflicts?

    Thanks!

    Oh another idea for "Default" plugin: world border (square or round).
     
  5. Offline

    Don Redhorse

    Thanks for that information.. will use multiinv till than..
     
  6. Offline

    nicke937

    The autosaving, afk and motd doesn't work for me. Any idea why?
     
  7. Offline

    Bobomaster

    When a user joins the server, their IP address is shown to all the users. Is there a way to stop this from happening?

    Example:
    2011-05-24_15.16.47.png

    Never mind, I edited Strings.yml and removed the IP part of it.
     
  8. Offline

    TheCoolest2

    /dccuboid does not work for me, it says /dccuboid item, i do /dccuboid 5 or /dccuboid wood, just says /dccuboid item Please Help!
     
  9. Offline

    inversation

    Have you marked your corners? http://defaultcommands.wikia.com/wiki//dccuboid
     
  10. Offline

    drei941

    the plugin is really good, just missing a few things. (kits, motd)
    my main problem though, are the item name aliases.

    where can i see/change those? i think i can do with items.yml
    but it includes only a handful and i'm not quite fond of adding all of them :/

    i searched through the sourcecode and can't even find a clue where the working aliases are coming from...
     
  11. Offline

    vildaberper

    Every default setting is in Reset.java, in com.vildaberper.DefaultCommands. :)
     
  12. Offline

    drei941

    true, but no item aliases.
    so why can i do "/i wood 10", or similar stuff, if it's nowhere to be found in the code?
    where are those aliases coming from? does minecraft contain default aliases or something?

    i'm having a hard time adding items becaus i have to try through countless name possibilities and i'm not feeling like learning the IDs.
     
  13. Offline

    vildaberper

    Wood, sandstone etc. is from bukkit's matchMaterial().
    Wool colors is the only included aliases I think (white for 35, black for 35:15 etc.). :)
     
  14. Offline

    drei941

    ah, thank you. that's the info i needed. will look at bukkits code then.

    EDIT: found it, so if anyone is interested as well, heres the code:
    Show Spoiler
    Code:
    public enum Material {
        AIR(0),
        STONE(1),
        GRASS(2),
        DIRT(3),
        COBBLESTONE(4),
        WOOD(5),
        SAPLING(6, Tree.class),
        BEDROCK(7),
        WATER(8, MaterialData.class),
        STATIONARY_WATER(9, MaterialData.class),
        LAVA(10, MaterialData.class),
        STATIONARY_LAVA(11, MaterialData.class),
        SAND(12),
        GRAVEL(13),
        GOLD_ORE(14),
        IRON_ORE(15),
        COAL_ORE(16),
        LOG(17, Tree.class),
        LEAVES(18, Tree.class),
        SPONGE(19),
        GLASS(20),
        LAPIS_ORE(21),
        LAPIS_BLOCK(22),
        DISPENSER(23, Dispenser.class),
        SANDSTONE(24),
        NOTE_BLOCK(25),
        BED_BLOCK(26, Bed.class),
        POWERED_RAIL(27, PoweredRail.class),
        DETECTOR_RAIL(28, DetectorRail.class),
        WEB(30),
        WOOL(35, Wool.class),
        YELLOW_FLOWER(37),
        RED_ROSE(38),
        BROWN_MUSHROOM(39),
        RED_MUSHROOM(40),
        GOLD_BLOCK(41),
        IRON_BLOCK(42),
        DOUBLE_STEP(43, Step.class),
        STEP(44, Step.class),
        BRICK(45),
        TNT(46),
        BOOKSHELF(47),
        MOSSY_COBBLESTONE(48),
        OBSIDIAN(49),
        TORCH(50, Torch.class),
        FIRE(51),
        MOB_SPAWNER(52),
        WOOD_STAIRS(53, Stairs.class),
        CHEST(54),
        REDSTONE_WIRE(55, RedstoneWire.class),
        DIAMOND_ORE(56),
        DIAMOND_BLOCK(57),
        WORKBENCH(58),
        CROPS(59, Crops.class),
        SOIL(60, MaterialData.class),
        FURNACE(61, Furnace.class),
        BURNING_FURNACE(62, Furnace.class),
        SIGN_POST(63, 1, Sign.class),
        WOODEN_DOOR(64, Door.class),
        LADDER(65, Ladder.class),
        RAILS(66, Rails.class),
        COBBLESTONE_STAIRS(67, Stairs.class),
        WALL_SIGN(68, 1, Sign.class),
        LEVER(69, Lever.class),
        STONE_PLATE(70, PressurePlate.class),
        IRON_DOOR_BLOCK(71, Door.class),
        WOOD_PLATE(72, PressurePlate.class),
        REDSTONE_ORE(73),
        GLOWING_REDSTONE_ORE(74),
        REDSTONE_TORCH_OFF(75, RedstoneTorch.class),
        REDSTONE_TORCH_ON(76, RedstoneTorch.class),
        STONE_BUTTON(77, Button.class),
        SNOW(78),
        ICE(79),
        SNOW_BLOCK(80),
        CACTUS(81, MaterialData.class),
        CLAY(82),
        SUGAR_CANE_BLOCK(83, MaterialData.class),
        JUKEBOX(84, Jukebox.class),
        FENCE(85),
        PUMPKIN(86, Pumpkin.class),
        NETHERRACK(87),
        SOUL_SAND(88),
        GLOWSTONE(89),
        PORTAL(90),
        JACK_O_LANTERN(91, Pumpkin.class),
        CAKE_BLOCK(92, 1, Cake.class),
        DIODE_BLOCK_OFF(93, Diode.class),
        DIODE_BLOCK_ON(94, Diode.class),
        LOCKED_CHEST(95),
        // ----- Item Separator -----
        IRON_SPADE(256, 1, 250),
        IRON_PICKAXE(257, 1, 250),
        IRON_AXE(258, 1, 250),
        FLINT_AND_STEEL(259, 1, 64),
        APPLE(260, 1),
        BOW(261, 1),
        ARROW(262),
        COAL(263, Coal.class),
        DIAMOND(264),
        IRON_INGOT(265),
        GOLD_INGOT(266),
        IRON_SWORD(267, 1, 59),
        WOOD_SWORD(268, 1, 59),
        WOOD_SPADE(269, 1, 59),
        WOOD_PICKAXE(270, 1, 59),
        WOOD_AXE(271, 1, 59),
        STONE_SWORD(272, 1, 131),
        STONE_SPADE(273, 1, 131),
        STONE_PICKAXE(274, 1, 131),
        STONE_AXE(275, 1, 131),
        DIAMOND_SWORD(276, 1, 1561),
        DIAMOND_SPADE(277, 1, 1561),
        DIAMOND_PICKAXE(278, 1, 1561),
        DIAMOND_AXE(279, 1, 1561),
        STICK(280),
        BOWL(281),
        MUSHROOM_SOUP(282, 1),
        GOLD_SWORD(283, 1, 32),
        GOLD_SPADE(284, 1, 32),
        GOLD_PICKAXE(285, 1, 32),
        GOLD_AXE(286, 1, 32),
        STRING(287),
        FEATHER(288),
        SULPHUR(289),
        WOOD_HOE(290, 1, 59),
        STONE_HOE(291, 1, 131),
        IRON_HOE(292, 1, 250),
        DIAMOND_HOE(293, 1, 1561),
        GOLD_HOE(294, 1, 32),
        SEEDS(295),
        WHEAT(296),
        BREAD(297, 1),
        LEATHER_HELMET(298, 1, 33),
        LEATHER_CHESTPLATE(299, 1, 47),
        LEATHER_LEGGINGS(300, 1, 45),
        LEATHER_BOOTS(301, 1, 39),
        CHAINMAIL_HELMET(302, 1, 66),
        CHAINMAIL_CHESTPLATE(303, 1, 95),
        CHAINMAIL_LEGGINGS(304, 1, 91),
        CHAINMAIL_BOOTS(305, 1, 78),
        IRON_HELMET(306, 1, 135),
        IRON_CHESTPLATE(307, 1, 191),
        IRON_LEGGINGS(308, 1, 183),
        IRON_BOOTS(309, 1, 159),
        DIAMOND_HELMET(310, 1, 271),
        DIAMOND_CHESTPLATE(311, 1, 383),
        DIAMOND_LEGGINGS(312, 1, 367),
        DIAMOND_BOOTS(313, 1, 319),
        GOLD_HELMET(314, 1, 67),
        GOLD_CHESTPLATE(315, 1, 95),
        GOLD_LEGGINGS(316, 1, 91),
        GOLD_BOOTS(317, 1, 79),
        FLINT(318),
        PORK(319, 1),
        GRILLED_PORK(320, 1),
        PAINTING(321),
        GOLDEN_APPLE(322, 1),
        SIGN(323, 1),
        WOOD_DOOR(324, 1),
        BUCKET(325, 1),
        WATER_BUCKET(326, 1),
        LAVA_BUCKET(327, 1),
        MINECART(328, 1),
        SADDLE(329, 1),
        IRON_DOOR(330, 1),
        REDSTONE(331),
        SNOW_BALL(332, 16),
        BOAT(333, 1),
        LEATHER(334),
        MILK_BUCKET(335),
        CLAY_BRICK(336),
        CLAY_BALL(337),
        SUGAR_CANE(338),
        PAPER(339),
        BOOK(340),
        SLIME_BALL(341),
        STORAGE_MINECART(342, 1),
        POWERED_MINECART(343, 1),
        EGG(344, 16),
        COMPASS(345),
        FISHING_ROD(346, 1, 64),
        WATCH(347),
        GLOWSTONE_DUST(348),
        RAW_FISH(349),
        COOKED_FISH(350),
        INK_SACK(351, Dye.class),
        BONE(352),
        SUGAR(353),
        CAKE(354, 1),
        BED(355),
        DIODE(356),
        COOKIE(357),
        GOLD_RECORD(2256, 1),
        GREEN_RECORD(2257, 1);
    


    oh and by the way, theres a tiny typo in your wool aliases. it says magents instead of magenta :)
     
  15. Offline

    heisan213

    I'm just wondering, how does the /hide command work? Does it make the target invisible or something? I dont see any changes when i /hide someone. I have used this plugin for ages now, but i cant figure out this one command.
     
  16. Offline

    vildaberper

    You probably have '*' permissions, and that includes dc.hide.see. :)
    It will make you invicible in-game and on online lists etc.
     
  17. Offline

    nicke937

    This plugin is not working correct for me. I don't get any message when a player connect.
    Commands working fine though.
     
  18. Offline

    vildaberper

    Is that player yourself?
    I removed "<player> connected, joined world." etc. for the players the message is about. :)
     
  19. Offline

    nicke937

    Aha, okey
     
  20. Offline

    WizardCM

    Would love a '/me' command.
    You know, when you go '/me is awesome.' In chat it would broadcast:
    WizardCM is awesome.
    So kind of like '[name] [message]'
    Without the normal chat '[prefix] [name] [suffix]: [message]' layout.
     
  21. Offline

    deep

    Hello, i've got an issue. DefaultCommands dont want to create his default files, when i give him files, plugin dont use it, working on default that i cannot find ;o Did someone encountered this bug? How to solve it?

    ~Deep
     
  22. Offline

    vildaberper

    Read the main post.
     
  23. Offline

    Orange101

    Erm Hey man, I wanna start by saying, your plugin is by far one of my favourites, and ive installed it to my server, but im wondering how to read the .YML files because im on windows and it says they are unreadable. Please help me o' master XD :)
     
  24. Offline

    withmorten

    Just open them with a random text-editor? I suggest notepad++, because you can replace all the tabs with 4 spaces in the settings.
     
  25. Offline

    WizardCM

    I have noticed a quite major bug. Basically, I have two maps (city & pixelart), which are based on the same original files (a blank 400x400 map).
    Because of this, I've noticed that portals on one map (city) also exist in the other (pixelart) at the exact same positions. Seems like the portals appear on every world in the exact same positions. Quite annoying. :p
    Would also love a '/back' command to undo a teleport/warp.
     
  26. Offline

    MG127

    did you just killed my warps.yml and homes.yml with one of the last updates??? [creeper] Zzzz [fire]
     
  27. Offline

    hofec

    Thank you vildaberper for great stuff ! [diamond]

    Any chance to set-home with left/right click on bed ? (like Essentials :D)

    Thank you again.
     
  28. Offline

    heisan213

    Ok, thanks! Then i'l remove that from the other admins, just for fun ;O
     
  29. Offline

    Don Redhorse

    could you perhaps add a blacklist for the give command? an override permission for that would be the icing of the cake but not really needed.. at least not for me
     
  30. Offline

    ThePilotGuy

    Hey, I'm having problems with permissions. I have put them in as you said, and it tells me I don't have permission.
    I'm using permissions 3.x. Is the plugin incompatible with 3.x?

    Permissions groups file:
    Code:
    groups:
        User:
            default: true
            info:
                prefix: '[User] '
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - dc.do
            - iConomy.rank
            - iConomy.list
            - iConomy.payment
            - iConomy.bank.main
            - dc.help
            - dc.who
            - dc.worlds
            - dc.join.self
            - dc.home.self
            - dc.sethome.self
            - iConomyChestShop.shop.create
            - iConomyChestShop.shop.exclude
            - iConomyChestShop.shop.buy
            - iConomyChestShop.shop.sell
            - iConomyChestShop.command.iteminfo
            - lwc.protect
            - stargate.use
            - turnstile.use
            - turnstile.make
            - turnstile.link
            - turnstile.price
            - turnstile.owner
            - turnstile.delete
        Donor:
            default: false
            info:
                prefix: '&5[&5Donor&5]&5'
                suffix: ''
                build: true
            inheritance:
            - User
            permissions:
            - iConomy.bank.access
            - iConomy.bank.main.view
            - creaturebox.set
            - creaturebox.dropspawner
            - creaturebox.placespawner
            - dc.spawn.self
            - dc.disconnect
        SuperDonor:
            default: false
            info:
                prefix: '&5[&5Donor&5]&5'
                suffix: ''
                build: true
            inheritance:
            - Donor
            permissions:
            - turnstile.make
            - turnstile.link
            - dc.who
            - dc.spawn.self
            - dc.jump
            - stargate.free.use
        Supporter:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - SuperDonor
            permissions:
            - creaturebox.give
            - creaturebox.creature.{creaturename}
            - creaturebox.limit
            - creaturebox.count
            - creaturebox.requires
            - creaturebox.period
            - dc.fly.self
            - nocheat.speedhack
            - nocheat.moving
            - nocheat.flying
            - turnstile.admin.ignore.cost
        Sponsor:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Supporter
            permissions:
            - dc.creative.self
            - herochat.color
        Moderator:
            default: false
            info:
                prefix: '&6[&6Mod&6]&6'
                suffix: ''
                build: true
            inheritance:
            - Supporter
            permissions:
            - iConomy.access
            - dc.join.other
            - dc.join.all
            - dc.fly.all
            - dc.fly.other
            - dc.god.self
            - dc.god.other
            - dc.god.all
            - dc.name.self
            - dc.spawn.other
            - dc.spawn.all
            - dc.teleport.self
            - dc.teleport.all
            - dc.teleport.other
            - dc.home.other
            - dc.home.all
            - dc.sethome.other
            - dc.sethome.all
            - dc.inventory
            - herochat.admin
            - iConomyChestShop.admin
            - lwc.mod
            - nocheat.speedhack
            - nocheat.moving
            - nocheat.flying
            - nocheat.fakesneak
            - nocheat.airbuild
            - nocheat.bedteleport
            - nocheat.itemdupe
            - nocheat.bogusitems
            - nocheat.notify
            - turnstile.admin.bank
            - turnstile.admin.list
            - turnstile.admin.locate
            - turnstile.admin.ignore.owner
        Admin:
            default: false
            info:
                prefix: '&c[&cAdmin&c]&c'
                suffix: ''
                build: true
            inheritance:
            - Moderator
            permissions:
            - '*'
        Owner:
            default: false
            info:
                prefix: '&b[&bOwner&b]&b'
                suffix: ''
                build: true
            inheritance:
            - Admin
            permissions:
            - '*'
    CB 816 is what I currently use.
     

Share This Page