Hi,
My name is Simon. I play Minecraft since the early Indev versions, and lately I’ve been active in the Command Block community. I have extended knowledge in the Command Block domain, but these have their own limits.
The projects I work on becoming more and more ambitious, I’m starting to consider plugin development. Unfortunately I have absolutely no knowledge of plugins, and Sponge. I’ve learned today that Bukkit died 11 months ago, and I was recommended to check here instead.
I’ve read a bit of the docs, but didn’t understand half of it. Also, before considering the tough job of learning Java and plugin development, I’d like to know if the following things are possible at this stage of Sponge API or in a very close future.
The project would be running on Sponge Vanilla (if I’m right, Sponge Vanilla is kind of the equivalent of CraftBukkit, playable with the Vanilla client, while Sponge Coremod is running Forge Server and requires Forge on the client side).
Thanks in advance for your help . These are my questions :
1. Is it possible to create custom interfaces such as the ones below : (Seen on Hypixel, Wynncraft)
http://i.imgur.com/qkcBf0S.png
2. Is it possible to detect wether the player is within a interface or not. By within an interface I mean if there’s an interface opened (his own inventory, a chest, a furnace, or a custom interface as above, anything) ?
3. Is it possible to detect if a player clicks a slot (empty or not) in his inventory (including the small crafting grid and the craft output) ? (Seen on Minescape)
4. Is it possible to display others’ player names relatively to a player ? (For instance in a minigame, my teammates would have a green name while opponents would have a red one, but my opponent would see himself as green and would see me as red) (Seen on Hypixel)
http://i.imgur.com/ClWm8cN.png
5. If the case above is possible, would it be possible to do the same for entities others than players : for instance, if I right click a Chest, an Armor Stand nametag will pop out saying “It’s locked”. But other players around who didn’t try to open the chest won’t see it.
http://i.imgur.com/AwozAoa.png
6. If the case above is possible, would it be possible to have an entity visible only to a certain player ? If servers can send packets to each player individually, could a server send a packet to a server with let’s say an ArmorStand with a block on his head, but not send it to other players ? So only one player sees the Armor Stand like this :
http://i.imgur.com/9gCJixn.png
7. Is is possible to detect a player left and right clicking : air, an entity, and a block in adventure mode ? (Seen on Wynncraft)
8. Is it possible to set a custom skin for a player ? Wynncraft released a “Custom Armor” system on their server : when you place a piece of armor on you, it converts to a slimeball in the appropriate armor slot so it doesn’t render on your body, but your skin is modified so the overlay looks like a custom armor. This allows for an infinite number of armors. When you remove the armor, the slimeball held by the cursor is immediately converted back to the armor piece.
http://i.imgur.com/HdOh6jq.png
9. Is it possible to create a fake player entity (NPC), give him a custom skin and maybe a simple IA (like chasing the nearest player) ?
http://i.imgur.com/nUUxhSR.png
10. Is it possible to increase the maxstack of any item and apply to every container (including custom interfaces), so if I have a stack of 100 Stone, wherever I place it it’ll stay 100 Stone, and won’t split up in a stack of 64 as it currently does in vanilla ?
http://i.imgur.com/1F9ecaW.png
11. Is it possible to display the nametag of a player only if he is in a close radius to you ?
12. Is it possible to, instead of displaying what the player has written in the chat, display the text above his head (basically the plugin would fetch what the player has sent, and write it in the name tag of an Armor Stand place above the player, and after a short delay the Armor Stand would be killed) ?
13. Is it possible to only see the messages in the chat from people in a certain range of you ? (Seen on Wynncraft)
If you made it this far, thanks a lot for your patience. I made research to find answers, but I didn’t find anything on Sponge, probably because I don’t know the technical language.
Anyway, most of the things above are possible in CraftBukkit, because they are things I’ve seen on servers (I mentioned which ones when appropriate).
How is Sponge advanced compared to Bukkit before it died ? As it all the features ? More ?
Thanks a lot in advance for your help, I hope I didn’t bother you too much !
Edit. The image links are in code because new users aren’t allowed to post images