Pokemon Server Archive

PvP Server => Plugins => Topic started by: Paradox on May 18, 2012, 12:48:07 am

Title: Plugin Requests/Help
Post by: Paradox on May 18, 2012, 12:48:07 am
So since Cal left us and he was our plugin developer, Rigby and 1ce finally convinced me to start developing plugins for our server. I'll be teaching them Java so that us three will start making plugins for the server. I have plenty of experience in Java and if anyone wants to learn Java and join us, please tell us here so we can possibly add you to the team. I'd like to see people with programming background but if you don't have any, no worries.


Anyways, as the former part of the title states, we need plugin ideas. So here are status's on plugins:


Want to implement:
1)Escape Rope
2)Pokedex
3)PokeEvents

Working on:
1) RunningShoes

Completed:
1) MobsInGrass
-Repels: Lower odds
-Attractions: Increase odds
Title: Re: Plugin Requests/Help
Post by: 1cec0ld on May 18, 2012, 12:48:38 am

Mobs that pop up when you walk in tall-grass


Repel Item-Odds lower/none (maybe finally give cocoa, glowstone, or some useless item like that a purpose)
Attraction item-Like one of the pokeflutes, only consuming it. Melon_block, Apple, something abstract like that. Probably Melon since you dont actually use the Interact Event to trigger eating it like an apple does.



Title: Re: Plugin Requests/Help
Post by: Paradox on May 18, 2012, 12:50:09 am
Thanks 1ce, I added it to the main topic.
Title: Re: Plugin Requests/Help
Post by: MasterAssassin82 on May 18, 2012, 01:10:54 am
Player Types:
   -RANDOMLY selected, either FIRE, WATER, or GRASS, would say it before a players name as the first letter of the
    type    [F]  [W]  [G]
   -Super effective and not very effective implemented
    example: slightly more damage when a FIRE type pvp's a GRASS type
   -Maybe different kill/death messages?



    [F]Paradox used FIRE BLAST on [G]1cec0ld! It's super effective!





EDIT: oh and admins could choose their own and could even use ones like [P]oison and [E]lectric
Title: Re: Plugin Requests/Help
Post by: Anonymouslyanon on May 18, 2012, 01:16:42 am
Fly and Surf plugin:

Areas can be marked as regions, and areas within regions can be marked as cities/towns. When you have a certain amount of badges in a region, you can fly to cities/towns in that region using a command like /fly <cityname>. It's almost like warping, but you're not able to "fly" to places other than cities. Surfing is similar. If you have a certain amount of badges in a region, you can walk on the water in that region.
Title: Re: Plugin Requests/Help
Post by: 1cec0ld on May 18, 2012, 01:29:48 am
Fly and Surf plugin:

Areas can be marked as regions, and areas within regions can be marked as cities/towns. When you have a certain amount of badges in a region, you can fly to cities/towns in that region using a command like /fly <cityname>. It's almost like warping, but you're not able to "fly" to places other than cities. Surfing is similar. If you have a certain amount of badges in a region, you can walk on the water in that region.


Hooking into Badges++ (coded by mr. lazy) would be very difficult...

Player Types:
   -RANDOMLY selected, either FIRE, WATER, or GRASS, would say it before a players name as the first letter of the
    type    [F]  [W]  [G]
   -Super effective and not very effective implemented
    example: slightly more damage when a FIRE type pvp's a GRASS type
   -Maybe different kill/death messages?



    [F]Paradox used FIRE BLAST on [G]1cec0ld! It's super effective!


Random Value assigned to each player on First login: doable, as long as its saved in a file that would grow with each new player.
Prefix tag based on said value in chat, without overriding PEX groups: doable, but difficult.
Damage modifications based on said values: easy
Different Death messages based on said values: easy enough.



Different Idea copied from CalDaBeast's thread:
Escape ropes pulling you out of a cave and to an entrance.
Escape ropes? Possibly quite hard to make. But its better than using /spawn
I'd say hook into worldguard and check the region name. If the region name is one with preset location(s) then when the rope is used, tp that player to the nearest location defined for that region name. If the player isnt in a rope-location-defined region, do nothing. Sure the admins would have to
/escaperope set unioncave1 unioncave
/escaperope set [location] [cave/forest regionName]
for every cave entrance, and for every cave, but if it gets the idea to work, I like it.
Title: Re: Plugin Requests/Help
Post by: liquidfired on May 18, 2012, 01:58:22 am
Mind If I could help. I'm taking AP Comp Sci next year, hoping to practice some JAva
Title: Re: Plugin Requests/Help
Post by: synderfin on May 18, 2012, 08:36:40 am
Wow Para, and think you wern't awesome enough already, now you are doing all this.


Do you mind if I can help? I'd love to learn to code Java and I'll try not to be a hassle.
Title: Re: Plugin Requests/Help
Post by: Warmonger_2 on May 18, 2012, 11:31:17 am
I would like to help if possible. Ive done some flash programming and I started (didnt finish...) a C++ Programming class.
Title: Re: Plugin Requests/Help
Post by: vance101 on May 18, 2012, 03:04:59 pm
i would like to help XD
 im taking  computer class now
Title: Re: Plugin Requests/Help
Post by: Paradox on May 18, 2012, 05:19:14 pm
Player Types:
   -RANDOMLY selected, either FIRE, WATER, or GRASS, would say it before a players name as the first letter of the
    type    [F]  [W]  [G]
   -Super effective and not very effective implemented
    example: slightly more damage when a FIRE type pvp's a GRASS type
   -Maybe different kill/death messages?



    [F]Paradox used FIRE BLAST on [G]1cec0ld! It's super effective!





EDIT: oh and admins could choose their own and could even use ones like [P]oison and [E]lectric



Okay, so pokemon types, I'll look add it.


Fly and Surf plugin:

Areas can be marked as regions, and areas within regions can be marked as cities/towns. When you have a certain amount of badges in a region, you can fly to cities/towns in that region using a command like /fly <cityname>. It's almost like warping, but you're not able to "fly" to places other than cities. Surfing is similar. If you have a certain amount of badges in a region, you can walk on the water in that region.



Worth looking into and adding onto the list.


@1ce, escape ropes are on the list already so we'll look into it.


@liquid Sure, it'll be great practice for the AP. Though I'm gonna teach past the AP considering that course does not include ADT's (I know, I've taken the AP :D), something you will need for plugin development. And there's other things like file writings. But welcome to the team.


@shark sure, everyone's welcomed to join.


@war flash programming wont' help really at all, maybe a bit?, but any work with C++ would be perfectly applicable to Java.


@vance sounds good then!
-----


So, for all my people who are on the team now, I need to test how much you guys know. I'm gonna make a basic list of Java concepts and I want you top copy the list and put a "X" next to the concepts you understand 100%. Not kind of. Not mostly. 100%.


-Basic Data types (int, boolean, float, doube, ect.)
-Conventions of coding(capitalization of certain types, spacing, bracketing)
-Functions(parameters,return types, signatures,ect.)
-Conditionals(if,else,switch,ect.)
-Loops(for,advanced for, ect.)
-Recursion
-Object Orientation(Classes, instance varaibles, local varaibles,constructers, getters and setters)
-Library's(importing them, math library, arraylist library, ect.)
-Polymorphism
-Class types(Abastract and interface are the only ones it looks like we need)
-Inheritance(super class, sublcass, super command)
-Basic Data structures(array, 2D array,list)
-Advanced Abstract Data Structures(Queue's,stacks,maps)
-File manipulation(writing to file, reading from file, creating file, ect.)
------------


This is a kind of estimate on what everyone will need to learn before you can start to code anything (Well, besides recursion. But it's good to know). Also, if you think "Well, I know a good amount of this stuff Paradox! Let's start!", you should familiarize yourself with the API of Bukkit:


http://jd.bukkit.org/apidocs/ (http://jd.bukkit.org/apidocs/)


So, for those who don't understand what an API is, it's pretty much all the given classes, and obviously functions, that are given to us, the coders, from bukkit. We can use these already made methods rather than make them. Kind of like a library!


Also, PLEASE install an IDE (Integrated Development Environment, pretty much allows you to write code and compile it) right now so you can start making your own code to get use to java. I suggest eclipse because it can handle a lot of files well and is great for beginners.
Title: Re: Plugin Requests/Help
Post by: liquidfired on May 18, 2012, 05:35:01 pm
-Basic Data types (int, boolean, float, doube, ect.)
X Conventions of coding(capitalization of certain types, spacing, bracketing)
-Functions(parameters,return types, signatures,ect.)
X Conditionals(if,else,switch,ect.)
X Loops(for,advanced for, ect.)
-Recursion
-Object Orientation(Classes, instance varaibles, local varaibles,constructers, getters and setters)
X Library's(importing them, math library, arraylist library, ect.)
-Polymorphism
-Class types(Abastract and interface are the only ones it looks like we need)
-Inheritance(super class, sublcass, super command)
X Basic Data structures(array, 2D array,list)
-Advanced Abstract Data Structures(Queue's,stacks,maps)
-File manipulation(writing to file, reading from file, creating file, ect.)


Sorry Still pretty new to Java. I know most Basic Data Types but not ALL of them. I'm gonna go try to tutorials soon
Title: Re: Plugin Requests/Help
Post by: Rigby on May 18, 2012, 05:35:37 pm
-Basic Data types (int, boolean, float, doube, ect.) x-Conventions of coding(capitalization of certain types, spacing, bracketing) -Functions(parameters,return types, signatures,ect.)-Conditionals(if,else,switch,ect.)-Loops(for,advanced for, ect.)-Recursion-Object Orientation(Classes, instance varaibles, local varaibles,constructers, getters and setters)-Library's(importing them, math library, arraylist library, ect.) -Polymorphism-Class types(Abastract and interface are the only ones it looks like we need)-Inheritance(super class, sublcass, super command)-Basic Data structures(array, 2D array,list)-Advanced Abstract Data Structures(Queue's,stacks,maps)-File manipulation(writing to file, reading from file, creating file, ect.)


I know more about the hardware of computers, not stuff like software functionality, exactly why I want to learn
Title: Re: Plugin Requests/Help
Post by: Paradox on May 18, 2012, 05:48:44 pm
-Basic Data types (int, boolean, float, doube, ect.)
X Conventions of coding(capitalization of certain types, spacing, bracketing)
-Functions(parameters,return types, signatures,ect.)
X Conditionals(if,else,switch,ect.)
X Loops(for,advanced for, ect.)
-Recursion
-Object Orientation(Classes, instance varaibles, local varaibles,constructers, getters and setters)
X Library's(importing them, math library, arraylist library, ect.)
-Polymorphism
-Class types(Abastract and interface are the only ones it looks like we need)
-Inheritance(super class, sublcass, super command)
X Basic Data structures(array, 2D array,list)
-Advanced Abstract Data Structures(Queue's,stacks,maps)
-File manipulation(writing to file, reading from file, creating file, ect.)


Sorry Still pretty new to Java. I know most Basic Data Types but not ALL of them. I'm gonna go try to tutorials soon


Wow, that's weird. I don't understand how you learned basic data structures without knowing basic data types...


-Basic Data types (int, boolean, float, doube, ect.) x-Conventions of coding(capitalization of certain types, spacing, bracketing) -Functions(parameters,return types, signatures,ect.)-Conditionals(if,else,switch,ect.)-Loops(for,advanced for, ect.)-Recursion-Object Orientation(Classes, instance varaibles, local varaibles,constructers, getters and setters)-Library's(importing them, math library, arraylist library, ect.) -Polymorphism-Class types(Abastract and interface are the only ones it looks like we need)-Inheritance(super class, sublcass, super command)-Basic Data structures(array, 2D array,list)-Advanced Abstract Data Structures(Queue's,stacks,maps)-File manipulation(writing to file, reading from file, creating file, ect.)


I know more about the hardware of computers, not stuff like software functionality, exactly why I want to learn
 


That's fine, it's a good starting to place to work with.
Title: Re: Plugin Requests/Help
Post by: Paradox on May 18, 2012, 06:11:26 pm
Also, this tutorial should help you learn how to make your own plugin and the basics of how it all works:


http://wiki.bukkit.org/Plugin_Tutorial (http://wiki.bukkit.org/Plugin_Tutorial)
Title: Re: Plugin Requests/Help
Post by: liquidfired on May 18, 2012, 06:51:46 pm
I know most Data Types, but you said 100%, and I can't remember all of them on the top of my head :I
Title: Re: Plugin Requests/Help
Post by: Paradox on May 18, 2012, 07:07:48 pm
I meant the concepts of it.


Okay, so, I want to get this out of the clear, I've never coded Bukkit pluggins. I've modded before and I know Java, but never developed a plugin. So, I've watched a good hour or so of youtube videos and I'm learning a lot and I've made a basic plugin. So here's how a VERY basic plugin will look. (All this plugin does is allow a player to type /sendme and it will say on the screen "Sent" in gold. I've added my own comments to help you guys understand. If you understand how everything works in this code, you're on a good track.)


--

package com.gmail.androidphoneeric.test;


import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.plugin.java.JavaPlugin;
import java.util.logging.Logger;


public class test extends JavaPlugin {
   //Short hand for my plugin type
   public static test plugin;
   //Creates log which is type Logger. Logger allows you to interact with the server
   public final Logger log=Logger.getLogger("Minecraft");
   
   //What occurs when the plugin is enabled
   public void onEnable(){
      //Creates pdffile which is type PluginDescriptionFile that gets the description of this specific object
      PluginDescriptionFile pdffile=this.getDescription();
      //Prints out to console that the plugin has been enabled.
      log.info(pdffile.getName()+"has been enabled!");
   }
   
   public void onDisable(){
      //Creates pdffile which is type PluginDescriptionFile that gets the description of this specific object
      PluginDescriptionFile pdffile=this.getDescription();
      //Prints out to console that the plugin has been disabled.
      log.info(pdffile.getName()+"has been disabled.");
      
   }
   //What occurs when a command has been called upon and what to do in such cases
   //@sender: The sender of the command
   //@cmd:
   //commandLabel: What command they called
   //args: Basic String args
   public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args){
      //Casts the sender to a player object
      Player player=(Player) sender;
      //Check if this is the command they called
      if(commandLabel.equalsIgnoreCase("sendme"))
      {
         player.sendMessage(ChatColor.GOLD+"sent");
         return true;
      }
      return false;
   }
   


}
------
Don't worry about knowing what the imports are and each one, and the comments should give you a run down of it all. But if you can read the code very well, you should be good for basic development!

Title: Re: Plugin Requests/Help
Post by: liquidfired on May 18, 2012, 07:14:00 pm
I can read most of it, but I won't be able to type it from scratch :L. Basically just if the the public void is on, plugin enabled, vice versa. You put in a command (Like an event listener) and it will say "sent" I just don't get the logger package
Title: Re: Plugin Requests/Help
Post by: Paradox on May 19, 2012, 12:30:18 pm
I can read most of it, but I won't be able to type it from scratch :L. Basically just if the the public void is on, plugin enabled, vice versa. You put in a command (Like an event listener) and it will say "sent" I just don't get the logger package


Liquid, I can't tell whether I'm understanding you or not but by the way it sounds, in no way do I mean to be mean, you have no idea what you're talking about. Public and void are java keywords, you do not put them on, one is to denote access and one is the return type. Also, you don't NEED to pass an evenlistener to activate the send. I may understanding your incorrectly though.
Title: Re: Plugin Requests/Help
Post by: Prodigy39 on May 19, 2012, 12:39:57 pm
Para, I know squat but I'd be glad to help. I'm a really fast learner. PS I have a mac :/
Title: Re: Plugin Requests/Help
Post by: Paradox on May 19, 2012, 12:57:00 pm
Para, I know squat but I'd be glad to help. I'm a really fast learner. PS I have a mac :/


Perfect, welcome to the team! A mac is fine, just install eclipse for the mac.
Title: Re: Plugin Requests/Help
Post by: Prodigy39 on May 19, 2012, 01:09:14 pm
Which one? Theres like 10 of em
Title: Re: Plugin Requests/Help
Post by: Rigby on May 19, 2012, 01:35:28 pm
Sooo what's the first day in which we can set up a date to learn shit...?
Title: Re: Plugin Requests/Help
Post by: liquidfired on May 19, 2012, 05:41:06 pm
Yeah...I'm pretty much shit at Java at the moment.
Title: Re: Plugin Requests/Help
Post by: Paradox on May 19, 2012, 06:05:20 pm
@liquid, it's fine, you'll learn


So we had out first lesson today. WE covered basic data types and methods. PRetty helpful.


I've also finally compiled the basis of "MobsInGrass" plugin. Right now, if you go into tall grass and type the command, it has a fixed percent chance of spawning either a Spider or Zombie with a message saying "A WILD (what the name of the mob spawns) HAS APPEARED!". I'll need to make it so it happens when you walk into grass rather than by command but that's very easy. I'm also working on a repel and attract part so that you can increase/decrease the amount of percent chance that a mob will spawn, it's really easy.
Title: Re: Plugin Requests/Help
Post by: liquidfired on May 19, 2012, 06:08:03 pm
I think I missed it but I found this: http://www.tutorialspoint.com/java/java_basic_datatypes.htm

Title: Re: Plugin Requests/Help
Post by: Paradox on May 19, 2012, 06:23:42 pm
That's a fine over view of data types. Keep reading that tutorial website and see how much you can learn.
Title: Re: Plugin Requests/Help
Post by: Prodigy39 on May 19, 2012, 06:29:25 pm
Which Eclipse do i download? There's like 10. And after that is it 32 or 64 bit?
Title: Re: Plugin Requests/Help
Post by: Rigby on May 19, 2012, 06:30:36 pm
Get Classic and you should get the mac version, not sure if they have 32/64-bits for Macs
Title: Re: Plugin Requests/Help
Post by: Paradox on May 19, 2012, 06:31:18 pm
Download the classic one. And just download 32 to be safe. If you have a x64, get that. But if you don't know, use 32.
Title: Re: Plugin Requests/Help
Post by: Warmonger_2 on May 19, 2012, 06:35:31 pm
I know more about the hardware of computers, not stuff like software functionality, exactly why I want to learn

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Title: Re: Plugin Requests/Help
Post by: Paradox on May 19, 2012, 06:37:20 pm
Well, hardware isn't going to help you, sorry :(. But if you like hardware I'm sure you'll like software.
Title: Re: Plugin Requests/Help
Post by: liquidfired on May 19, 2012, 06:41:51 pm
Well I used the tutorial and I learned how to make a basic plugin. May I see the source code for the Mob thing and see If I could do anything?
Title: Re: Plugin Requests/Help
Post by: Prodigy39 on May 19, 2012, 06:52:29 pm
Just checked, Intel Core 2 Duo 64 bit
Title: Re: Plugin Requests/Help
Post by: liquidfired on May 19, 2012, 06:57:26 pm
If we take this guy's source code, we could have the walkthrough grass event
http://dev.bukkit.org/server-mods/pokeblocks/ (http://dev.bukkit.org/server-mods/pokeblocks/)


Seems like Cal already tried though


EDIT: Found a PlayerInteractEvent
Title: Re: Plugin Requests/Help
Post by: Paradox on May 19, 2012, 07:31:49 pm
The the grass part is easy, I got it pretty much done. I'll send you guys it later, I'm at dinner now. Keep watching tutorials.
Title: Re: Plugin Requests/Help
Post by: MasterAssassin82 on May 19, 2012, 08:27:31 pm
Player Types:
   -RANDOMLY selected, either FIRE, WATER, or GRASS, would say it before a players name as the first letter of the
    type    [F]  [W]  [G]
   -Super effective and not very effective implemented
    example: slightly more damage when a FIRE type pvp's a GRASS type
   -Maybe different kill/death messages?



    [F]Paradox used FIRE BLAST on [G]1cec0ld! It's super effective!





EDIT: oh and admins could choose their own and could even use ones like [P]oison and [E]lectric




Also, the death message could be randomized each time:

[F]MasterAssassin used FIRE BLAST on ______! It's super effective!
[F]MasterAssassin used FLAMETHROWER on ______! It's super effective!
[F]MasterAssassin used OVERHEAT on ______! It's super effective!
[F]MasterAssassin used FRENZY PLANT on ______! It's super effective!
 [F]MasterAssassin used GIGA DRAIN on ______! It's super effective!
 [F]MasterAssassin used VINE WHIP on ______! It's super effective!


etc etc etc..
Title: Re: Plugin Requests/Help
Post by: zekrom74 on May 19, 2012, 08:38:32 pm
Master, I think it would be better if they chose at oak's lab, it will be more pokemon theme each way, Like when they go in, there are 3 signs on the table that says if they want Charmander [F], Squirtle [W], or Bulbasaur [G]. This would be better so that more players will come in. I also have a suggestion that if you manage to kill someone different from your type in the routes make it like a ''captured pokemon'' and the person gets to use both types by a certain command and the tag changes to the colour, even admins if they choose electric or poison or whatever they chose and you get their type too. Complicated, but quite fun, more people will also try to get each other's type so you can just watch them kill each other and have a good time, even if you are the killer.
Title: Re: Plugin Requests/Help
Post by: Okieskinny on May 19, 2012, 09:52:51 pm
I say go with choosing from fire, water, or grass when logging in for the first time, then making it a $100+ donator bonus to change your type. (or same situation but $50 donator bonus)
Title: Re: Plugin Requests/Help
Post by: MasterAssassin82 on May 20, 2012, 12:43:19 am
Master, I think it would be better if they chose at oak's lab, it will be more pokemon theme each way, Like when they go in, there are 3 signs on the table that says if they want Charmander [F], Squirtle [W], or Bulbasaur [G]. This would be better so that more players will come in. I also have a suggestion that if you manage to kill someone different from your type in the routes make it like a ''captured pokemon'' and the person gets to use both types by a certain command and the tag changes to the colour, even admins if they choose electric or poison or whatever they chose and you get their type too. Complicated, but quite fun, more people will also try to get each other's type so you can just watch them kill each other and have a good time, even if you are the killer.


I think it would work best if people got their type randomly chosen when they first login, but I like the idea of aquiring types from other trainers. If that was to be put into place though, we would have to have people start out as more than just [G], [F], or [W].
Title: Re: Plugin Requests/Help
Post by: Tactic on May 20, 2012, 01:09:52 am
Disagreed, This can easily be abused by a bunch of people choosing different types and killing each other to acquire that type. Also, I don't see how the effectiveness/Super effectiveness would be implemented if people can acquire several types. Unless we can change types between the ones we have acquired otherwise it's a flop.
Title: Re: Plugin Requests/Help
Post by: Prodigy39 on May 20, 2012, 01:21:59 am
I dont like changing types. Did you get to trade your starter? No.
Title: Re: Plugin Requests/Help
Post by: liquidfired on May 20, 2012, 01:25:27 am
Unless you're an Arceus, you don't change types.
Title: Re: Plugin Requests/Help
Post by: zekrom74 on May 20, 2012, 01:37:23 am
It's like the pokemon party, you can only have up to 6 types. :p
Title: Re: Plugin Requests/Help
Post by: Anonymouslyanon on May 20, 2012, 01:43:57 am
How about at Oak's lab, you can choose water, grass, and fire, but if you want none of those, you have to go to a different place to choose a different type? Ex. Having to go to Power Plant to get electric, Viridian Forest to get bug, Spirit/Pokemon Tower to get ghost, etc.
Title: Re: Plugin Requests/Help
Post by: MasterAssassin82 on May 20, 2012, 02:35:55 am
How about at Oak's lab, you can choose water, grass, and fire, but if you want none of those, you have to go to a different place to choose a different type? Ex. Having to go to Power Plant to get electric, Viridian Forest to get bug, Spirit/Pokemon Tower to get ghost, etc.

That would be cool as well but the admins would have to think of a way to prevent type-unbalancing
because if everyone wanted to become (example) fire type, then no one would choose grass or bug because they would almost always be fighting people who are super effective on them. That might be prevented by having everyone's types reset to [N]ormal monthly, and then they would have to choose a DIFFERENT type than they have ever chosen each time. Once they have gone through all the types, they would start over. (ie: their list of already used types would be emptied)
Title: Re: Plugin Requests/Help
Post by: Paradox on May 20, 2012, 03:12:10 am
Note to self: make a pokedex plugin :P
Title: Re: Plugin Requests/Help
Post by: Anonymouslyanon on May 20, 2012, 03:13:42 am
How would that work?
Title: Re: Plugin Requests/Help
Post by: liquidfired on May 20, 2012, 03:13:58 am
On what?
Title: Re: Plugin Requests/Help
Post by: synderfin on May 20, 2012, 03:17:10 am

So, for all my people who are on the team now, I need to test how much you guys know. I'm gonna make a basic list of Java concepts and I want you top copy the list and put a "X" next to the concepts you understand 100%. Not kind of. Not mostly. 100%.


-Basic Data types (int, boolean, float, doube, ect.)
-Conventions of coding(capitalization of certain types, spacing, bracketing)
-Functions(parameters,return types, signatures,ect.)
-Conditionals(if,else,switch,ect.)
-Loops(for,advanced for, ect.)
-Recursion
-Object Orientation(Classes, instance varaibles, local varaibles,constructers, getters and setters)
-Library's(importing them, math library, arraylist library, ect.)
-Polymorphism
-Class types(Abastract and interface are the only ones it looks like we need)
-Inheritance(super class, sublcass, super command)
-Basic Data structures(array, 2D array,list)
-Advanced Abstract Data Structures(Queue's,stacks,maps)
-File manipulation(writing to file, reading from file, creating file, ect.)
------------






Para I can't say I'm 100% with anything but I do have a basic understanding of some of those thing.
Title: Re: Plugin Requests/Help
Post by: Ichikunjii on May 20, 2012, 04:35:12 am
Maybe setup like a "special recipes plugin" Where if you put for say

cobble stone in a 3x3 crafting table you get this item. It's SOMEWHAT like the equivalent exchange mod but it stops at 3x3 cobblestone=like Iron or ore something. Or maybe 3x3 Zombie flesh could create idk bones something that everyone could agree on and actually use.
Title: Re: Plugin Requests/Help
Post by: 1cec0ld on May 20, 2012, 07:10:28 am
Unless you're an Arceus, you don't change types.


Or Kecleon. Or Porygon. Or Ditto. Or Mew. Or Rotum.  Fail.


Has anyone forgotten that we are TRAINERS????  Trainers don't have types. Their party pokemon might, but saying
[G][TagName]Name is systax destruction. You're saying the trainer has grass type. Their weapon might be able to do "super effective damage" to another weapon, but one trainer isn't ever "super effective" by default to another trainer.



By the way, I'm currently devouring http://docs.oracle.com/javase/tutorial/java/nutsandbolts/index.html (http://docs.oracle.com/javase/tutorial/java/nutsandbolts/index.html) for my information in the language.
Title: Re: Plugin Requests/Help
Post by: Paradox on May 20, 2012, 02:06:02 pm
Here's my idea for the pokedex:


Commands:
/pokedex: Welcomes you to the server and tells you basic information about it and how to use the pokedex, such as commands and more
/pokedex help: tells you all the commands
/pokedex badges: Tells you information about how badges work and how to get them
/pokedex wild: Explain how the wild works
/pokedex whois (nameofplayer): tells you a self-written description of that player
/pokedex description: allows you to write your own self-written description of yourself so when people /pokedex whois (you), they'll see a description


---
I feel there's endless possbilities for it, it's kind of like having the billboard out in pallettown with you always.
I feel there's an endless possibility of
Title: Re: Plugin Requests/Help
Post by: 1cec0ld on May 20, 2012, 03:48:46 pm
-unfinished posts.  :banana:
Title: Re: Plugin Requests/Help
Post by: Paradox on May 20, 2012, 05:02:20 pm
MobsInGrass is COMPLETE!:


Walk into some TALL GRASS and you have a 1% chance of spawning a mob! What kind of mob? WEll, it can be:
-Zombie
-Cave Spider
-Skeleton
-Creeper
-Iron Golem
-Giant
-Enderman


I have an attract/repel command, but they don't do anything besides text. I have all the code for them to work but I need to talk to admins about permissions before I add it to the full plugin. ENJOY!
Title: Re: Plugin Requests/Help
Post by: vance101 on May 22, 2012, 02:46:26 pm

is it bad if i havn't actually done any java this year and only alice, python, NXT, and html?
i know some of these but i don't know if its the same for java anyway heres the list and x's:

-Basic Data types (int, boolean, float, doube, ect.) X
-Conventions of coding(capitalization of certain types, spacing, bracketing)
-Functions(parameters,return types, signatures,ect.) X
-Conditionals(if,else,switch,ect.) X
-Loops(for,advanced for, ect.) X
-Recursion X-Object Orientation(Classes, instance varaibles, local varaibles,constructers, getters and setters)
-Library's(importing them, math library, arraylist library, ect.)
-Polymorphism-Class types(Abastract and interface are the only ones it looks like we need)-Inheritance(super class, sublcass, super command)
-Basic Data structures(array, 2D array,list)
-Advanced Abstract Data Structures(Queue's,stacks,maps)-File manipulation(writing to file, reading from file, creating file, ect.)

ok so i guess as i read the others i don't know as much as i thought i would XD
hope i can show up to your class
Title: Re: Plugin Requests/Help
Post by: 1cec0ld on May 22, 2012, 04:01:42 pm
Bold is what I don't know. Assume the rest is in c++ language.
So, for all my people who are on the team now, I need to test how much you guys know. I'm gonna make a basic list of Java concepts and I want you top copy the list and put a "X" next to the concepts you understand 100%. Not kind of. Not mostly. 100%.


-Basic Data types (int, boolean, float, double, char,short.)
-Conventions of coding(capitalization of certain types, spacing, bracketing)
-Functions(parameters,return types, signatures?,ect.)
-Conditionals(if,else,switch,ect.)
-Loops(for,advanced for?, while, do-while, ect.)
-Recursion
-Object Orientation(Classes, instance varaibles?, local varaibles,constructers, getters and setters) lolwut
-Library's(importing them, math library, arraylist library, ect.)
-Polymorphism?
-Class types(Abastract and interface are the only ones it looks like we need)
hurrdurr
-Inheritance(super class, sublcass, super command)

-Basic Data structures(array, 2D array,list)
-Advanced Abstract Data Structures(Queue's,stacks,maps)
-File manipulation(writing to file, reading from file, creating file, ect.)
------------


This is a kind of estimate on what everyone will need to learn before you can start to code anything (Well, besides recursion. But it's good to know). Also, if you think "Well, I know a good amount of this stuff Paradox! Let's start!", you should familiarize yourself with the API of Bukkit:


[url]http://jd.bukkit.org/apidocs/[/url] ([url]http://jd.bukkit.org/apidocs/[/url])


So, for those who don't understand what an API is, it's pretty much all the given classes, and obviously functions, that are given to us, the coders, from bukkit. We can use these already made methods rather than make them. Kind of like a library!


Also, PLEASE install an IDE (Integrated Development Environment, pretty much allows you to write code and compile it) right now so you can start making your own code to get use to java. I suggest eclipse because it can handle a lot of files well and is great for beginners.
Title: Re: Plugin Requests/Help
Post by: Anonymouslyanon on June 09, 2012, 03:21:07 pm
Fly and Surf plugin:

Areas can be marked as regions, and areas within regions can be marked as cities/towns. When you have a certain amount of badges in a region, you can fly to cities/towns in that region using a command like /fly <cityname>. It's almost like warping, but you're not able to "fly" to places other than cities. Surfing is similar. If you have a certain amount of badges in a region, you can walk on the water in that region.

Now that we have the source code for Badges++, is this possible?
Title: Re: Plugin Requests/Help
Post by: MasterAssassin82 on June 09, 2012, 03:48:08 pm
That would be awesome, and the way that /warp for donators would still be a perk is it would be instant, instead of tons of training to get 6 (or something in that area) badges
Title: Re: Plugin Requests/Help
Post by: CalDaBeast on June 28, 2012, 09:17:36 pm
Sorry for leaving you guys, I had a good bit going on at the time, and I had lost a lot of motivation to work on VoxelHoenn and therefor  be on the server. I'm very happy to see you guys actually starting to code yourselves!
Title: Re: Plugin Requests/Help
Post by: Prodigy39 on June 28, 2012, 10:20:10 pm
Keep to the coding get cho hands off Hoenn  :cool:
Title: Re: Plugin Requests/Help
Post by: CalDaBeast on June 29, 2012, 02:20:49 am

So, for all my people who are on the team now, I need to test how much you guys know. I'm gonna make a basic list of Java concepts and I want you top copy the list and put a "X" next to the concepts you understand 100%. Not kind of. Not mostly. 100%.

X-Basic Data types (int, boolean, float, doube, ect.)
X-Conventions of coding(capitalization of certain types, spacing, bracketing)
X-Functions(parameters,return types, signatures,ect.)
X-Conditionals(if,else,switch,ect.)
X-Loops(for,advanced for, ect.)
X-Recursion
X-Object Orientation(Classes, instance varaibles, local varaibles,constructers, getters and setters)
X-Library's(importing them, math library, arraylist library, ect.)
X-Polymorphism
-Class types(Abastract and interface are the only ones it looks like we need) Know what it is, dont ever use it
X-Inheritance(super class, sublcass, super command)
X-Basic Data structures(array, 2D array,list)
-Advanced Abstract Data Structures(Queue's,stacks,maps) Only use HashMaps
X-File manipulation(writing to file, reading from file, creating file, ect.)

95%
Title: Re: Plugin Requests/Help
Post by: CalDaBeast on June 29, 2012, 02:27:33 am
Hooking into Badges++ (coded by mr. lazy) would be very difficult...

I see how you guys like to talk about me when you think Im gone :P

But yes, hooking into Badges++ would be impossible, as there are no getter/setter methods. It was coded in my noob stage. The best thing to do without a Badges++ heavy modification would be to use YamlConfiguration.load(new File("plugins/Badges++/config.yml")) and do a bit of copy-paste.

I'd rewrite it, but I leave for 3 weeks next Sunday and I have obligations I must attend to (paid to code something massive).
Maybe @Paradox wants to take a whack at rewriting it with an API :P
Title: Re: Plugin Requests/Help
Post by: Paradox on June 29, 2012, 02:32:14 pm
Hooking into Badges++ (coded by mr. lazy) would be very difficult...

I see how you guys like to talk about me when you think Im gone :P

But yes, hooking into Badges++ would be impossible, as there are no getter/setter methods. It was coded in my noob stage. The best thing to do without a Badges++ heavy modification would be to use YamlConfiguration.load(new File("plugins/Badges++/config.yml")) and do a bit of copy-paste.

I'd rewrite it, but I leave for 3 weeks next Sunday and I have obligations I must attend to (paid to code something massive).
Maybe @Paradox wants to take a whack at rewriting it with an API :P


Trust me, I'm well aware of your Badges++ plugin writing. No offense, but no matter what we do it's going to be difficult to make it well functional. People are asking me to do editting but as you and I both know, that's still going to be a bitch. And even if I use the same config, it's still going to be a bitch because of the original set up of the plugin.



So, for all my people who are on the team now, I need to test how much you guys know. I'm gonna make a basic list of Java concepts and I want you top copy the list and put a "X" next to the concepts you understand 100%. Not kind of. Not mostly. 100%.
-Class types(Abastract and interface are the only ones it looks like we need) Know what it is, dont ever use it
 


This made me laugh because you use this every time you write a java plugin.
Title: Re: Plugin Requests/Help
Post by: CalDaBeast on June 29, 2012, 10:20:37 pm
I implement interfaces, but I dont make my own. (what I meant)
Title: Re: Plugin Requests/Help
Post by: PKMNtrainer on August 12, 2012, 10:33:01 pm
Guys i have a good idea for a plugin i hope this is gonna work and its liked well at the lab you push a button and it says in playerchat you got this pokemon lets say charmander and you walk in the grass and a battle starts and you do like /fight or /bag or /run and thos fake pokemon gain xp and a book is a pokedex
Title: Re: Plugin Requests/Help
Post by: PKMNtrainer on August 12, 2012, 10:34:08 pm
and you get pokeballs and catch pokemon like the game
Title: Re: Plugin Requests/Help
Post by: Ichikunjii on August 12, 2012, 10:46:42 pm
I was thinking that now we have a "active" Nurse Joy, why not try to configure NPCs to do this.

Nurse Joy at a pokemon center. You walk up to it and it says, "Welcome! To -town pokemon center-. Would you like to be healed?"

And it would throw health pots at you. I wonder though if its possible. :P
Title: Re: Plugin Requests/Help
Post by: Mariofighter3 on August 13, 2012, 12:18:29 am
Command Blocks and yes it is.
Title: Re: Plugin Requests/Help
Post by: Tenebrae on August 13, 2012, 12:26:03 am
I was thinking that now we have a "active" Nurse Joy, why not try to configure NPCs to do this.

Nurse Joy at a pokemon center. You walk up to it and it says, "Welcome! To -town pokemon center-. Would you like to be healed?"

And it would throw health pots at you. I wonder though if its possible. :P


I know that its possible to buy/sell with npcs. Thing with splash potions is they dont heal hunger.
Title: Re: Plugin Requests/Help
Post by: Ichikunjii on August 13, 2012, 12:51:13 am
Hmm, thats the only problem it seems. If only Notch/Jeb had made instant hunger healing pots.
Title: Re: Plugin Requests/Help
Post by: 1cec0ld on August 13, 2012, 01:00:23 pm
Hmm, thats the only problem it seems. If only Notch/Jeb had made instant hunger healing pots.
I could do that, but it wouldn't be brewable...
Title: Re: Plugin Requests/Help
Post by: MasterAssassin82 on August 13, 2012, 06:10:22 pm
I could do that, but it wouldn't be brewable...
Couldn't you make NPCs do commands upon right clicking them/going near them?
Ex: NurseJoy would do "/heal <player> 9999" when <player> enters a 3 block radius of the NPC?
Title: Re: Plugin Requests/Help
Post by: liquidfired on August 14, 2012, 02:18:22 am
I was thinking that now we have a "active" Nurse Joy, why not try to configure NPCs to do this.

Nurse Joy at a pokemon center. You walk up to it and it says, "Welcome! To -town pokemon center-. Would you like to be healed?"

And it would throw health pots at you. I wonder though if its possible. :P


The Text is possible, if using SethBling's Filters for a potion mob spawner then it COULD work
Title: Re: Plugin Requests/Help
Post by: PKMNtrainer on August 14, 2012, 09:50:51 pm
Either We Need a Pokeball Plugin or a battling plugin
Title: Re: Plugin Requests/Help
Post by: Tenebrae on August 14, 2012, 11:36:48 pm
Either We Need a Pokeball Plugin or a battling plugin
Make one for us? :) Preferably that doesnt require external mods or spout.
Title: Re: Plugin Requests/Help
Post by: PKMNtrainer on August 15, 2012, 09:57:44 pm
Make one for us? :) Preferably that doesnt require external mods or spout.
No duh
Title: Re: Plugin Requests/Help
Post by: cabass on August 17, 2012, 06:52:01 am
Guys I know a guy who runs a server like this only by himsel. If you want contact with him he is, Kirpi (not sure of his full IGN)
Title: Re: Plugin Requests/Help
Post by: PKMNtrainer on August 17, 2012, 09:28:46 am
Make one for us? :) Preferably that doesnt require external mods or spout.
Os course no spout!!!!!
Title: Re: Plugin Requests/Help
Post by: Tenebrae on August 17, 2012, 10:01:52 am
Os course no spout!!!!!


1.4's MOd API will allow for server changes to be pushed to the client. so yuou wont have to mod clients anymore :D
Title: Re: Plugin Requests/Help
Post by: PKMNtrainer on August 18, 2012, 06:13:06 pm

1.4's MOd API will allow for server changes to be pushed to the client. so yuou wont have to mod clients anymore :D
Is that a good thing or a bad thing? srry im a java n00b
Title: Re: Plugin Requests/Help
Post by: Tenebrae on August 19, 2012, 03:25:56 am
Its a good thing because it means no one would need to mod their client with, for example pokemobs, to have a pokemobs server.
Title: Re: Plugin Requests/Help
Post by: daniel_stephen on October 29, 2012, 01:57:47 am
I would like to help you with the coding.I have made a mod before and know a little java.If you want my help e-mail me
Title: Re: Plugin Requests/Help
Post by: Tenebrae on November 02, 2012, 04:42:36 am
I would like to help you with the coding.I have made a mod before and know a little java.If you want my help e-mail me
If this is for a pokemon plugin, you will have to wait until the Mod API is released, which is currently aimed for 1.5.
Title: Coding Help
Post by: air1800 on April 28, 2013, 06:08:38 pm
Hey, I'm a really bright kid for only 17, so I'd be more than happy to come up with ideas and help code. There is only one problem: I don't know java. I have played with it ever since I was 13, but have never actually coded anything. So, if you can, please msg me either on the forums or in game that you would be willing to teach me java. I'd be a very helpful resource.
Title: Re: Plugin Requests/Help
Post by: Barnitzn on April 28, 2013, 09:16:38 pm
I know some basic java and I would love to help if i could get more training at it, i have done some playing around with it and made a few basic platform games, but never actually coded anything major for minecraft
Title: Re: Plugin Requests/Help
Post by: GeoWhiz on May 16, 2013, 09:17:33 pm
I know very little PHP, and that's about it.


I'm going to learn a heck of a lot in the summer is what I'm planning on doing.


My Suggestion:


I had to think about this for a while, but I think I have one, well more like a billion.


1st Suggestion: I'm going off of the whole "fly" idea but; Trainers who have beaten all 8 Kanto Gyms have the ability to /fly [CityName].


2nd Suggestion: We could have "statues" of trainers that show up in a city/route/cave/place. They would have a slim chance of spawning, and then they would attack you. They could have like the same amount of health (10 bars) as we have & the farther into the game they are, the more weapons/armor they get. (That's a bit out there, I don't expect a "yes" to it really)


That's about it for now... But I'm sure I'll do more stuff.

Title: Re: Plugin Requests/Help
Post by: 1cec0ld on May 17, 2013, 04:11:04 am
I know very little PHP, and that's about it.


I'm going to learn a heck of a lot in the summer is what I'm planning on doing.


My Suggestion:


I had to think about this for a while, but I think I have one, well more like a billion.


1st Suggestion: I'm going off of the whole "fly" idea but; Trainers who have beaten all 8 Kanto Gyms have the ability to /fly [CityName].


2nd Suggestion: We could have "statues" of trainers that show up in a city/route/cave/place. They would have a slim chance of spawning, and then they would attack you. They could have like the same amount of health (10 bars) as we have & the farther into the game they are, the more weapons/armor they get. (That's a bit out there, I don't expect a "yes" to it really)


That's about it for now... But I'm sure I'll do more stuff.

Flying, we made that a donor perk and named it /warp
The server does need to stay running somehow, and donations are our best chance. It is a perk of the cheapest rank, so the easiest to get.


As for the second one, it sounds like a job for NPC's but I don't know enough about scripting Denizens to create what you and other players would want. I feel like that effort would be better spent elsewhere.