1

Plugin Question

MiningOnXbox 4/11/14 12:23 am
394
4/13/2014 5:56 pm
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
Posted by
MiningOnXbox
Level 17 : Journeyman Pokémon
5

  Have something to say?

JoinSign in

7

Samstrongman
04/13/2014 5:56 pm
Level 48 : Master Ninja
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
1
Orginalet
04/11/2014 7:49 am
Level 1 : New Miner
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.
1
lol i haxor
04/11/2014 1:46 am
Level 1 : New Miner
Google: "Java tutorials" and maybe add "for beginners".
1
MiningOnXbox
04/11/2014 1:32 am
Level 17 : Journeyman Pokémon
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
1
lol i haxor
04/11/2014 1:26 am
Level 1 : New Miner
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.
1
MiningOnXbox
04/11/2014 1:07 am
Level 17 : Journeyman Pokémon
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.
1
lol i haxor
04/11/2014 12:55 am
Level 1 : New Miner
Well, if you're asking other people to do it for you, you are obviously not learning anything.
1

Welcome