hey i used to play rs and i thought it would be a great idea to have this on my server. I wouldnt need it to handle giving out the money just broadcasting a number between 1-100 or a set amount using the /roll command or something simalar. thanks alot
RuneScape runescape come on this cant be hard to code, and no i cant do im a c++ guy EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Oddly, that's a common excuse in this section. Java is an astoundingly easy language to learn, I'm sure you'll pick it up just fine. That said, your post doesn't give much detail into what you actually want. I was never into Runescape, so I don't know what you are talking about.
I recently made something similar to this for my server. If you want I can write up one like it. (Mine does a random effect to the player after he uses it so I'm remaking it) Refrain from bumping, I'll upload it and send it to you here. http://puu.sh/BZWn Enjoy! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Nah, everyone should upgrade to Java 7. I deleted the source after I tested for bugs, so I really can't do Java 6 for him anyways. Lol
Yes it does. Do you have full access to this server, or is it a server hosted for you on someone else's machine? And if you didn't know what I mean there.. Is this a VPS, home computer, or Dedicated Server? or is it some Minecraft server host that only uses Java 6?
i own the server machine its a dedicated 24/7, i just checked and i have 64 bit jre6 installed on it, from past experience with minecraft it works bet with the last java 6u32, on java 7 i cant get any computers to load miencraft from a fresh install
If you run the server from a batch file you have to change the java path of the batch file in notepad. Code: @ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx2048M -Xms2048M -jar craftbukkit.jar PAUSE ^^ Put that in the batch file if you use one. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Uh, no? jre7 has everything jre6 has. Plus you're able to install both and just run whichever one that isn't causing errors. Edit: If you're really really wanting it in Java 6 I can take a few minutes and make it once again.
This might not be the case anymore (I'm not convinced it isn't though), but time was most plugins were compiled using 6 because many servers used 6. A 6 jar goes to 7, but the reverse is not true. For most plugins from a coding perspective the upgrade doesn't add much if anything practically speaking, so it's simpler to just compile under 6 even if you are using 7, to avoid these conflicts. This is mostly advice for plugins that are released for community consumption. Private plugins just need to be <= the version of Java that's run on the server.
Yes, but if everyone starts compiling in Java 7, the majority of server owners will go to 7 as well. Well, that or they'll just rage on the forums saying that the plugins don't work anymore..
Well you can certainly compile your plugins in 7 if that's your goal; but I prefer to avoid the additional requests for my plugins just to save ten seconds setting my environment when I setup a new project. As I said before, for most people there's no practical difference in the two, from the perspective of a plugin. (I'm open to convincing on this though if someone knows specific things JRE7 takes advantage of in memory/etc., that it wont use because a jar is jre6)
Alright.. http://puu.sh/CdMk Once again, enjoy! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
ok i can do it now but now i only roll 85's idk if something is wrong? well loneface has it pretty much done it just needs to print out a random number between 1-100 EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Hm.. Didn't do that on my server. I'll do some additional work. http://puu.sh/CqpV Here you go, sorry for the above problem. EDIT by Moderator: merged posts, please use the edit button instead of double posting.