nice thanks for this alot mate! i needed this![]()
|
|
i take no credit for this i just changed soul breakers commands a round a very little bit but anyway here ya go
if a player is massing type "::massing white boy" or w\e there user name is here is the codes
again i take no cred for this just modified soul breakers commandsCode:if(command.startsWith("massing") && command.length() > 8 && playerRights >= 3) { String name = command.substring(10); client c = (client) PlayerHandler.players[PlayerHandler.getPlayerID(name)]; c.sendMessage(playerName + " please stop massing this is your first warning."); } if(command.startsWith("massing2") && command.length() > 9 && playerRights >= 3) { String name = command.substring(10); client c = (client) PlayerHandler.players[PlayerHandler.getPlayerID(name)]; c.sendMessage(playerName + " please stop massing this is your last warning."); }

nice thanks for this alot mate! i needed this![]()
Simple and useful for a lot of people.. but i'd rather use other methods lol.
Good job, but you should make it so it gives you a like a interface
Yeah, except it doesn't do anything beyond warning them. Lol.
lol i prefer just saying: "hey you!, yea you noob! stop massing or ban!"
but your way is faster i guess
but with 500+ posts and 69 rep you should come up with something better then ::massing & ::massing2
I get an error when i use and it kicks me...
Code:[client-2-Username]: playerCommand: massing Username java.lang.ArrayIndexOutOfBoundsException: -1 at client.customCommand(client.java:10536) at client.parseIncomingPackets(client.java:21410) at client.packetProcess(client.java:16883) at client.process(client.java:16853) at PlayerHandler.process(PlayerHandler.java:137) at server.main(server.java:50) GoldScape [fatal] - exception Could not save for Username Could not save for Username ClientHandler: Client Username disconnected.
**** off allready with this **** learn to add timers so your players cant mass on your stupid server
You're a dickhead. All the cases still go through, this just warns them and a bann could be added on (If it isn't already).
Next time, give constructive criticism instead of dishing out bullshit to others. And most of the time you have no fucking clue what you're talking about (Like my warning system).
GTFO asshole.
| « [TUT] Make an Effective Backup [TUT] | Adding Menu's the Right way! » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |