Hello everyone
Recently ive been teaching myself along with aid of videos on how to code bukkit plugins, this means we can have plugins that are for Hp-Minecraft ONLY[/b, which is a big leap in our development.
So, now when i get round to coding plugins for the server, i will need a batch of ideas and suggestions on what the plugin will do .etc.
Hopefully getting some guidence from heinz on what he wants on his server ill be able to develop a set of plugins called (ironically )
So, if you have any plugin ideas please post them below!
Teaching myself code, need plugin suggestions.
-
- World Member!
- Posts: 203
- Joined: 17 Dec 2010, 13:29
- Nickname: FelixMoogster
- Nation: HP-EMPiRE
- Hometown: None
Teaching myself code, need plugin suggestions.
Check out my new youtube channel:
http://www.youtube.com/felixmoog" onclick="window.open(this.href);return false;
http://www.youtube.com/felixmoog" onclick="window.open(this.href);return false;
-
- World Guide!
- Posts: 443
- Joined: 01 Feb 2011, 22:55
- Nickname: kyborek
- Nation: HP-EMPiRE
- Hometown: The Skytown
- Location: Prague
- Contact:
Re: Teaching myself code, need plugin suggestions.
Heinz already made his very own core plugin that we are using and he is keeping clean code for easy development and good server performance. I dont think videos can teach you what is clean code.
-
- World Member!
- Posts: 203
- Joined: 17 Dec 2010, 13:29
- Nickname: FelixMoogster
- Nation: HP-EMPiRE
- Hometown: None
Re: Teaching myself code, need plugin suggestions.
I understand what clean code is, its keeping all the sections of the code together but separate if you see what i mean =D.
Anyways lots of videos are giving me a basic understanding, and im thinking about taking some actual java classes.
The code im making now is in attempts to make the server more roleplay like, where for placing a certain block (acting as a becon) will give the server a chat message saying "Player placed a becon at x:-46 z:156"
Meaning that people can easily find each other.
However this is not 100% perfect as it needs to have some kind of world input in it such as "player placed a becon in Freebuild at x:-46 z:156"
Soo....we should start to think about putting a plugin team together mabye somthing like this:
Basic code writers:
Advanced code and basic code checkers:
Plugin and code checkers:
Testers:
somthing like that =D
Anyways lots of videos are giving me a basic understanding, and im thinking about taking some actual java classes.
The code im making now is in attempts to make the server more roleplay like, where for placing a certain block (acting as a becon) will give the server a chat message saying "Player placed a becon at x:-46 z:156"
Meaning that people can easily find each other.
However this is not 100% perfect as it needs to have some kind of world input in it such as "player placed a becon in Freebuild at x:-46 z:156"
Soo....we should start to think about putting a plugin team together mabye somthing like this:
Basic code writers:
Advanced code and basic code checkers:
Plugin and code checkers:
Testers:
somthing like that =D
Check out my new youtube channel:
http://www.youtube.com/felixmoog" onclick="window.open(this.href);return false;
http://www.youtube.com/felixmoog" onclick="window.open(this.href);return false;
-
- Lord!
- Posts: 152
- Joined: 13 Apr 2011, 03:58
- Nickname: laserhog
- Nation: Mercatorinos
- Hometown: Indigo City
- Location: Auckland, New Zealand
Re: Teaching myself code, need plugin suggestions.
To do this "becon" thing you would need a block listener then using the onBlockPlace event you can easily get the player that places it and their location, world , etc. Then you would assemble the string of info you want, ie. player name, world coords, then broadcast it. What tutorial are you using?
I do things the only way i know how
Difficulty
Difficulty
- HeinzPeter
- World Owner!
- Posts: 1611
- Joined: 14 Dec 2010, 23:00
- Nickname: HeinzPeter
- Nation: HP-EMPiRE
- Location: NRW, Germany
- Contact:
-
- World Member!
- Posts: 203
- Joined: 17 Dec 2010, 13:29
- Nickname: FelixMoogster
- Nation: HP-EMPiRE
- Hometown: None
Re: Teaching myself code, need plugin suggestions.
As i say its in development so heinz can test out the plugin see if he likes it.
Check out my new youtube channel:
http://www.youtube.com/felixmoog" onclick="window.open(this.href);return false;
http://www.youtube.com/felixmoog" onclick="window.open(this.href);return false;
-
- World Member!
- Posts: 203
- Joined: 17 Dec 2010, 13:29
- Nickname: FelixMoogster
- Nation: HP-EMPiRE
- Hometown: None
Re: Teaching myself code, need plugin suggestions.
Im using torrent's tutorial from woopagaming, its taught me how to make the player receive a message when placing a block in this instance the beacon.
However i dont know the code for server broadcast, any examples?
However i dont know the code for server broadcast, any examples?
Check out my new youtube channel:
http://www.youtube.com/felixmoog" onclick="window.open(this.href);return false;
http://www.youtube.com/felixmoog" onclick="window.open(this.href);return false;
-
- Lord!
- Posts: 152
- Joined: 13 Apr 2011, 03:58
- Nickname: laserhog
- Nation: Mercatorinos
- Hometown: Indigo City
- Location: Auckland, New Zealand
Re: Teaching myself code, need plugin suggestions.
Code: Select all
event.getPlayer().getServer().broadcastMessage("string here");
You're doing the torch place tutorial? Thats where i started, i had no idea what i was copying down as i was doing it. Make sure you fully understand everything from it because it is all applicable in other plugin ideas.
I do things the only way i know how
Difficulty
Difficulty
-
- World Member!
- Posts: 203
- Joined: 17 Dec 2010, 13:29
- Nickname: FelixMoogster
- Nation: HP-EMPiRE
- Hometown: None
Re: Teaching myself code, need plugin suggestions.
yea im slowly picking it up.
What would we put for the string as in what codes for example
%p is player and thats all i know =D
Perhaps you and me want to make a plugin team?
What would we put for the string as in what codes for example
%p is player and thats all i know =D
Perhaps you and me want to make a plugin team?
Check out my new youtube channel:
http://www.youtube.com/felixmoog" onclick="window.open(this.href);return false;
http://www.youtube.com/felixmoog" onclick="window.open(this.href);return false;
-
- Lord!
- Posts: 152
- Joined: 13 Apr 2011, 03:58
- Nickname: laserhog
- Nation: Mercatorinos
- Hometown: Indigo City
- Location: Auckland, New Zealand
Re: Teaching myself code, need plugin suggestions.
Ah, i tried that once, school kinda screwed it up for me tho so nty. Also, ask questions on the Bukkit Forums if your stuck too, they are very helpful there if its a sensible question and a lot of the people are proficient in Java and the Bukkit API.
I do things the only way i know how
Difficulty
Difficulty