So right now im making a plugin. And I need to generate a random number between 40 and 80. I tried some google searches but didnt find anything like this. So does anyone here know how to do this? Thanks!
lockoroko You'll need to use java.util.random. Create a new random object, then use randomObject.nextInt(); For arguments, use 40... that will give you a random number in a range of 40. Now Java starts on 0's as you know, so figure out how much you need to add to 0 to get the desired effect...