maybe show what imports are needed? this is underlined and won't work new PacketPlayOutChat(ChatSerializer.a(toString()), true));
i just want to know how to insert my string into the packetplayouttitle String InsertStringHere = "msg that is never the same" PacketPlayOutTitle...
how would i implement that into this code: PacketPlayOutTitle subtitle = new PacketPlayOutTitle(EnumTitleAction.TITLE,...
you just wrote exactly what was in my code already
I currently need to send a title packet to a player, and want to know how i can implement a preset string into the packet sent String...
solved with hashmaps, thanks for the help!
Ill look into hashmaps and get back to you guys tomorrow, getting late here, thanks for the feedback
well i guess i have to learn hashmaps now, this should set me a day back, thanks for the help
wont that take up a lot of space?
would that create a temporary inventory that disappears after use?
so when they type /sell it creates a new inventory, how do i implement that into my code?
I made a plugin SellShop that allows players to /sell and open up an inventory to put the items they want to sell in, then when they close the...
I already have the code how I need it, i just need to add something to reload, or update the inventory before loops, does anyone know how to...
I cannot do this, as I have a loop that checks if each inventory slot is a item on the list, including the suggested code would clear all items...
example?
What i'm trying to accomplish is, when a player enters all his/her inventory in a custom inventory 'inv' (already set up), on event...
it isn't a player inventory i need to update What i need to do is figure out a way to get the second loop to see the inventory change, from the...
thats because i have a menu selector block at the 36th slot, h[35], so i don't want that one to be scanned Also i tested the plugin, and it...
well if it's already delayed till after, why is the 'inv' not updated for the second 'for loop', in game the items that where sold get added to my...
I need to delay the 2nd 'for loop' from occurring until after the first one has finished, because the valid items aren't removed from the 'inv'...
Separate names with a comma.