1
Plugin Question
Im new and trying to make a plugin, the only thing i really need is the code for when 6 players join, each player gets teleported to an individual position. No 2 players can get teleported to the same spot, kinda like survival games. If you know the code please reply, thanks
7
MiningOnXboxIm new and trying to make a plugin, the only thing i really need is the code for when 6 players join, each player gets teleported to an individual position. No 2 players can get teleported to the same spot, kinda like survival games. If you know the code please reply, thanks
Don't listen to the rude people who aren't going to tell you anything. We all learn differently, and one way I learn is by seeing the java code and learning what each line of code does. I am currently still learning to develope plugins and I need much practice but some ways I have learned is the following:
Great tutorials from the channel link below.
https://www.youtube.com/user/TheBCBroz
Development page from bukkit has a lot of discussions on how to do certain things with plugins. You can also ask for help there..
http://forums.bukkit.org/forums/plugin-development.5/
General place to go for tutorials.
http://wiki.bukkit.org/Plugin_Tutorial
Do you want each player to be teleported directly after joining the server, or do you want to wait until there are exactly six people online and then teleport them?
You could listen for PlayerJoinEvent (I'm assuming you're using Bukkit) and when the amount of players online is equal to six just execute a /spreadplayers command.
You could listen for PlayerJoinEvent (I'm assuming you're using Bukkit) and when the amount of players online is equal to six just execute a /spreadplayers command.
Google: "Java tutorials" and maybe add "for beginners".
how am i gonna learn if i have no clue about coding and no one shows how to do it? im not gonna have a random miracle and right out a bunch of stuff and just randomly get it
You think, someone giving you all the Java will help you learn? Do kids not know the definition of "learning" these days? Take it from a person that knows currently 6+ programming languages (web developing), practice with your own experiments. It's more fun to do something yourself, rather than to have someone do it for you.
im not gonna be able to learn how to do it if i don't know how to do it at all. I need someone to show me/ do it so i can do it in the future.
Well, if you're asking other people to do it for you, you are obviously not learning anything.
