Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is there a way to remove items?

Comments in 'Plugin Development' started by Andrey Nazarchuk, Apr 23, 2014.

  1. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    if you ban TNT in banitem it bans something else such as sticks. it really needs to be updated
  2. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    did you get it to work yet?
    Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  3. codmadnesspro
    Offline

    codmadnesspro Notable Member Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    551
    Plugins:
    1
    Minecraft User:
    Codmadnesspro
    You need the correct item id.
  4. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    The plugin documentation said to type "/item <ban:unban> <id:name>" and i typed "/item ban TNTBlock" and it banned sticks!?!
  5. codmadnesspro
    Offline

    codmadnesspro Notable Member Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    551
    Plugins:
    1
    Minecraft User:
    Codmadnesspro
    As I said use the item id.
  6. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    ok i think it works now
  7. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    did you get it to work yet @Wantedkillerss cause i really need that plugin for my superflat creative server
    Thanks!!!!!!!!!!!!
  8. Wantedkillerss
    Offline

    Wantedkillerss Active Member Plugin Developer

    Joined:
    May 9, 2014
    Posts:
    142
    Plugins:
    1
    Minecraft User:
    Wantedkillers
    I think the problem of banitem is that it bans the id number and the one on top of it so U could use ban item plugin to ban lava wich will water
  9. Wantedkillerss
    Offline

    Wantedkillerss Active Member Plugin Developer

    Joined:
    May 9, 2014
    Posts:
    142
    Plugins:
    1
    Minecraft User:
    Wantedkillers
    I kinda found a way to kick player if he
    Equips an item it'll take me a long time to make cause I have minister exams and wanna get at least over 75
  10. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    Oh, but you dont know whats wrong with the code for NoMoreLava?
  11. Wantedkillerss
    Offline

    Wantedkillerss Active Member Plugin Developer

    Joined:
    May 9, 2014
    Posts:
    142
    Plugins:
    1
    Minecraft User:
    Wantedkillers
    I just realized that u made it block.place u should try to do
    Player.equipment.change
  12. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    it was not me it was @luca28pet but he lost interest
  13. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    could you please possibly modify the code to use Player.equipment.change and make it work cuz i have no idea how
    Thanks!
  14. Wantedkillerss
    Offline

    Wantedkillerss Active Member Plugin Developer

    Joined:
    May 9, 2014
    Posts:
    142
    Plugins:
    1
    Minecraft User:
    Wantedkillers
    Doin it right now
  15. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    THANK YOU SO MUCH :) I cant stand greifers
  16. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    I AM SO SORRY it works now i just had to type the ids instead of the names (though the plugin says type the names)
    anyways it works now but can someone please update it for 1.4 cause i will need it for my creative freebuild server
    Things I have banned:Lava Bucket, Water Bucket, Trees (I modified the API so trees dont generate on super-flat worlds cause they are annoying for building) Grass (also modded, annoying) and spawn eggs (they LAG the server when spawned, seriously you can barely move).
    A HUGE THANKYOU TO EVERYONE THAT HELPED ME REALISE MY STUBBORNNESS AND DUMBNESS
    @luca28pet @Wantedkillerss @codmadnesspro @Lambo @PluginMastered @Falk @THE6walcybba @iksaku
    I AM TRULY SORRY THAT I (accedently) wasted your time.
  17. Wantedkillerss
    Offline

    Wantedkillerss Active Member Plugin Developer

    Joined:
    May 9, 2014
    Posts:
    142
    Plugins:
    1
    Minecraft User:
    Wantedkillers
    Thx and to remove the trees and grass I'm guessing that in the file super flat.php u went to the line were it says treecount and grass count and u set them to 0
  18. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    No it was different it was somthing like "Generate TallGrassObject" and "Generate TreeObject" and I erased them :):p
  19. Wantedkillerss
    Offline

    Wantedkillerss Active Member Plugin Developer

    Joined:
    May 9, 2014
    Posts:
    142
    Plugins:
    1
    Minecraft User:
    Wantedkillers
    Yeah that whould work too
    Hey wanna make plugins together we're both medium coders and we could make some pretty cool stuff.
  20. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    YA sure!
  21. THE6walcybba
    Offline

    THE6walcybba New Member

    Joined:
    May 3, 2014
    Posts:
    5
    Minecraft User:
    6walcybba
    O_O

Share This Page

Advertisement