Hey guys, I have an idea for a plugin. First of all, I hope you can understand my english because i'm Dutch and 14y/o Here's my story: I want my players to tell their friends about my server, so I'll get more players. I want to give them prices or money for the amount of players they suggested to my server. I want the suggested players to type a command where they can tell who suggested them. Then I want a top 10 list which shows the top 10 players who got the most people joined. Then at last: I want a command to reset the top 10 list. I hope someone can code this little plugin, i would really appreciate it! I think this plugin is real helpful for little servers trying to get big (Like me ;P) Plugin name idea: SuggestOthers Command ideas: /so {Name of the player who suggested him} Tells which player suggested him/her. /so top Shows top 10 list of players who suggested the most players /so reset Resets the top 10 list [EDIT]: You can only use the /so {name} once so they cannot cheat
I like this idea, ill give it a go Give me a day or two... Half done, will do more tommorow MrBlueWolf, Nearly done, basic functionallity is complete, just need to do the reset and the /so top but the reset shouldn't take too long so it'll probably be done by today... EDIT by Moderator: merged posts, please use the edit button instead of double posting.
@MrBlueWolf, I've finished! Here is the official Plugin page http://dev.bukkit.org/bukkit-plugins/suggestothers/ and Here is the pre-release (Until my project is approved) http://infinityflame.co.uk/suggestothers.jar
Hey, tried to launch te plugin but i got this error in the console: C:\Users\Users\Desktop\Nieuwe map>java -Xmx1024M -jar craftbukkit.jar -o true 16:49:08 [INFO] Starting minecraft server version 1.6.2 16:49:08 [INFO] Loading properties 16:49:08 [INFO] Default game type: SURVIVAL 16:49:08 [INFO] Generating keypair 16:49:08 [INFO] Starting Minecraft server on *:25565 16:49:08 [INFO] This server is running CraftBukkit version git-Bukkit-1.6.2-R0.1 -b2838jnks (MC: 1.6.2) (Implementing API version 1.6.2-R0.1) 16:49:08 [SEVERE] Could not load 'plugins\suggestothers.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPlug inLoader.java:257) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:132) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugins(CraftServer.ja va:239) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.<init>(CraftServer.java:21 7) at net.minecraft.server.v1_6_R2.PlayerList.<init>(PlayerList.java:56) at net.minecraft.server.v1_6_R2.DedicatedPlayerList.<init>(SourceFile:11 ) at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.jav a:106) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java :391) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:5 82) Caused by: while scanning a simple key in "<reader>", line 26, column 4: suggestothers.alert ^ could not found expected ':' in "<reader>", line 27, column 17: description: This Alerts players if a new p ... ^ at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(Scanne rImpl.java:398) at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.jav a:229) at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:17 8) at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par serImpl.java:563) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java :230) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java :237) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java :237) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12 3) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons tructor.java:121) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) at org.yaml.snakeyaml.Yaml.load(Yaml.java:411) at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile. java:188) at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPlug inLoader.java:252) ... 8 more 16:49:08 [INFO] Preparing level "world" 16:49:08 [INFO] Preparing start region for level 0 (Seed: 6507544938374237568) 16:49:08 [INFO] ----- Bukkit Auto Updater ----- 16:49:08 [INFO] It appears that you're running a Beta Build, when you've specifi ed in bukkit.yml that you prefer to run Recommended Builds. 16:49:08 [INFO] If you would like to be kept informed about new Beta Build relea ses, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'beta'. 16:49:08 [INFO] With that set, you will be told whenever a new version is availa ble for download, so that you can always keep up to date and secure with the lat est fixes. 16:49:08 [INFO] If you would like to disable this warning, simply set 'suggest-c hannels' to false in bukkit.yml. 16:49:08 [INFO] ----- ------------------- ----- 16:49:09 [INFO] Preparing start region for level 1 (Seed: 6507544938374237568) 16:49:10 [INFO] Preparing start region for level 2 (Seed: 6507544938374237568) 16:49:10 [INFO] Server permissions file permissions.yml is empty, ignoring it 16:49:10 [INFO] Done (1,695s)! For help, type "help" or "?" >
oh, ill have a look at that Ok sorry about that,here is the fixed one http://infinityflame.co.uk/suggestothers.jar tell me if it works ok
It is working fine thanks! Only one thing: when I type /so help, it just displays a message: Do /so help for help http://tinypic.com/r/2pq84k3/5 this is a photo, maby you can use it for the plugin page EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Ok, Final Version everything should be fixed, sorry for the mistakes, they were silly lol http://infinityflame.co.uk/suggestothers.jar
Hey, I think i've got another bug. The counter stays at 1 even if I refer another player Here are my plugins:
MrBlueWolf, Hmm, cant seem to replicate this, could you give me your SuggestOthers config file please
Can i have a look at the source code. Im new to plugin making so i want to see how you made the plugin
You can decompile the code. Normally all names of functions, variables and classes are saved to the jar file because of easy error finding.
Fred12i12i Janmm14 I don't want to share my source, but you are welcome to decompile it and see what's inside...