Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...
Dismiss Notice
Have some great ideas for Wynncraft? Join the official CT (content team) and help us make quests, builds, cinematics and much more!

World Drop Item Cancelling /toggleitemdrop Command

Discussion in 'General Suggestions' started by icebreaker, Jan 31, 2018.

?

Do you think this command should be added?

  1. Yes.

    15 vote(s)
    71.4%
  2. No.

    6 vote(s)
    28.6%
Thread Status:
Not open for further replies.
  1. icebreaker

    icebreaker Retired YouTuber & Full Stack Web Developer Media HERO

    Messages:
    2,829
    Likes Received:
    2,974
    Trophy Points:
    186
    Minecraft:
    Suggestion subject:
    Cancel dropping items event which gets triggered on pressing Q on an inventory item (selecting items using the mouse and dropping them won't get cancelled).
    Won't be hard at all to code.

    Causes for this suggestion:
    I have been recently seeing many players reporting that they loose their items , by dropping them in hoppers or loosing them accidentally (accidental press of Q), and this has been a major issue for them to get their losses refunded since there is a strict no refund policy, obviously.

    Explanation:
    Wynncraft stuff can add a new command : "/toggleitemdrop" , that returns a green message to players saying "Items no longer drop on Q press" when u use the command , and return a red message saying "Items now drop on Q press" when using the command again.
    This command with cancel the item drop event , which means that when players press Q to drop their items , the item won't get dropped and the player will receive a message "You can't drop your item while having the toggleitemdrop command active".
    Notice: With this toggle active, players can't trade their items, with a red message appearing "You can't trade items while toggleitemdrop command is active!" And an anvil sound popping.

    My personal opinion:
    If you think installing a modpack that locks items in hotbar to prevent loosing them , it's ok , it's a good idea. But I think this issue should be solved originally in the game code so players having issues with modpack problems or either their PCs aren't capable to handle the fps loss which will hinder the game performance.
    Tell me what do you think in the comment section.

    Does it make the server more laggy?
    No. The server is currently checking for right-left clicks every instant to apply combos , checking if players right click and spawn their horses, or when they trade,pvp,play quests,even on death in order to substract 2 sp and calculate the nearest safe area to teleport and spawn to. So making the item drop cancelling will add a very weak percentage to the total of game lag.
     
    Last edited: Feb 1, 2018
    Sabitus and ThomAnn100 like this.
  2. WynnChairman

    WynnChairman Chairman of Wynn HERO

    Messages:
    3,452
    Likes Received:
    2,675
    Trophy Points:
    136
    Guild:
    Minecraft:
    i mean...wynnexpansion/enhanced?
     
  3. Lex!

    Lex! :] CT Manager QA GM CMD CHAMPION

    Messages:
    1,204
    Likes Received:
    4,703
    Trophy Points:
    164
    Creator Karma:
    Minecraft:
    Good idea, but I'm not sure if it's possible to code.
     
  4. WynnChairman

    WynnChairman Chairman of Wynn HERO

    Messages:
    3,452
    Likes Received:
    2,675
    Trophy Points:
    136
    Guild:
    Minecraft:
    or just rebind ur drop key to like num lock or smth
    ________________________________
    oh ok
    well just rebind ur drop key then
    ________________________________
    anyone can do that, and its not hard at all nor does it affect performance
     
    Dr Zed likes this.
  5. Twin Lotus

    Twin Lotus Straw Hat VIP+

    Messages:
    1,253
    Likes Received:
    1,965
    Trophy Points:
    153
    Guild:
    Minecraft:
    EDIT: did you have to change the message right when i respond zz
     
  6. WynnChairman

    WynnChairman Chairman of Wynn HERO

    Messages:
    3,452
    Likes Received:
    2,675
    Trophy Points:
    136
    Guild:
    Minecraft:
     
  7. coehlrich

    coehlrich Well-Known Adventurer CHAMPION

    Messages:
    0
    Likes Received:
    11
    Trophy Points:
    50
    Minecraft:
    Maybe add a separate command for dropping weapons and armour because for example if a player wants to use the sea skipper then they would have to drop the boat pass in the hopper so the would have to do /toggleitemdrop and then they might accidentally drop their weapon in the hopper.
     
  8. icebreaker

    icebreaker Retired YouTuber & Full Stack Web Developer Media HERO

    Messages:
    2,829
    Likes Received:
    2,974
    Trophy Points:
    186
    Minecraft:
    It is totally possible , u just can make a method in java that handles an event that checks if the player drop an item and e.setCancelled(true)
    ________________________________
    Press Q wont make items drop but clicking on them and throwing items with the mouse is doable. :)
     
  9. DaFamousRedPanda

    DaFamousRedPanda forever ded VIP

    Messages:
    365
    Likes Received:
    347
    Trophy Points:
    85
    Guild:
    Minecraft:
    ANYTHING AS LONG AS I STOP DROPPING MY MYTHIC WEAPONS INTO HOPPERS BEFORE DUNGEON BOSS BATTLES
     
    DiamondWarrior59 and icebreaker like this.
  10. Lex!

    Lex! :] CT Manager QA GM CMD CHAMPION

    Messages:
    1,204
    Likes Received:
    4,703
    Trophy Points:
    164
    Creator Karma:
    Minecraft:
    sure, you can cancel the item drop event - but can you differentiate between the player dropping it from their hotbar and their inventory?
     
  11. icebreaker

    icebreaker Retired YouTuber & Full Stack Web Developer Media HERO

    Messages:
    2,829
    Likes Received:
    2,974
    Trophy Points:
    186
    Minecraft:
    yes, maybe a for loop for hotbar slots OR check if the player doesnt have the inventory GUI opened or not ;)
     
  12. WynnChairman

    WynnChairman Chairman of Wynn HERO

    Messages:
    3,452
    Likes Received:
    2,675
    Trophy Points:
    136
    Guild:
    Minecraft:
    holy shit just rebind ur drop key its not hard lmao
     
    NicBOMB and Dr Zed like this.
  13. Happy New Year

    Happy New Year Please bring the shoutbox back VIP+

    Messages:
    5,331
    Likes Received:
    4,985
    Trophy Points:
    194
    Minecraft:
    you don't have to say that three times
     
    Northie_, NicBOMB, ThomAnn100 and 2 others like this.
  14. WynnChairman

    WynnChairman Chairman of Wynn HERO

    Messages:
    3,452
    Likes Received:
    2,675
    Trophy Points:
    136
    Guild:
    Minecraft:
    well no one seemed to be paying attention so ¯\_(ツ)_/¯
     
    Dr Zed likes this.
  15. Tornor

    Tornor Mayor of Kandon-Beda VIP+

    Messages:
    448
    Likes Received:
    258
    Trophy Points:
    70
    Minecraft:
  16. ThaUnknown_

    ThaUnknown_ Wynncraft Enhanced Modpack Creator VIP+

    Messages:
    1,195
    Likes Received:
    1,089
    Trophy Points:
    130
    Minecraft:
    me and @Kirdow did something similar with our plugin, where if u Q an item it does a different thing than dropping it any other way, it's detectable and its easy to do
     
  17. Eula

    Eula Weeb Archer VIP+

    Messages:
    376
    Likes Received:
    299
    Trophy Points:
    85
    Minecraft:
    You should be able to lock certain items by right clicking them or through a villager. That way, people can still throw away items they don't want and keep items they do.
     
  18. CookedPelvis

    CookedPelvis Famous Adventurer HERO

    Messages:
    864
    Likes Received:
    1,679
    Trophy Points:
    148
    Minecraft:
    is it possible server side without lag?

    wouldn't this mean constantly checking if DROPKEY is pressed for the hundreds of players online ?
     
  19. icebreaker

    icebreaker Retired YouTuber & Full Stack Web Developer Media HERO

    Messages:
    2,829
    Likes Received:
    2,974
    Trophy Points:
    186
    Minecraft:
    The server is currently checking for right-left clicks every instant to apply combos , checking if players right click and spawn their horses, or when they trade,pvp,play quests,even on death in order to substract 2 sp and calculate the nearest safe area to teleport and spawn to. So making the item drop cancelling will add a very weak percentage to the total of game lag.
     
    CookedPelvis likes this.
  20. BilgewaterBazuka

    BilgewaterBazuka Exiled Adventurer VIP+

    Messages:
    104
    Likes Received:
    28
    Trophy Points:
    37
    Minecraft:
    Unbind the drop item key -_-
     
Thread Status:
Not open for further replies.