12-30-2013, 10:19 AM
Some errors in your code:
If you want to contribute, fork our github repository, commit your changes, make sure everything works as intended and submit a pull request. Then we can judge whether we should merge it to upstream or not.
- @hook.command is a generic command hook. You can use it, but it is less efficient and you got the footprint wrong. You need to hook to the actual "hashtag" command.
- The "print" keyword will print a line to the standard output; in this case, the server console. You should use broadcastMessage from the bukkit API instead. (By they way, that syntax is 3.3 - We use 2.6)
- "sender" is an object (a CommandSender instance - usually a Player). You cannot concatenate objects and strings.
- "args" is a (java) list. You need to actually join the arg strings together (' '.join(args)) before you print.
- "true" should be "True"
(12-29-2013, 04:09 PM)qwerasd205 Wrote: Frankly I was just too lazy to include a plugin.yml file so how do i put it onto teh OREs?
If you want to contribute, fork our github repository, commit your changes, make sure everything works as intended and submit a pull request. Then we can judge whether we should merge it to upstream or not.