Hello and welcome to our community! Is this your first visit?
Register
Results 1 to 3 of 3

Thread: silab serverz

  1. #1
    Dedicated Member
    Join Date
    Feb 2009
    Location
    500+ post count clubz
    Posts
    955

    silab serverz

    well, this is kinda web developemt
    more like
    programming a developing server (lol)

    but if anyone knows about silab servers
    can you tell me if this is the right code
    for the command "mute"

    if (command.startsWith("mute")) {
    try {
    String ...
    ... = command.substring(5);
    int mutedPlayer = ...
    ... .getPlayerID(mutedName);
    client m = (client) server. ...
    ... .players[mutedPlayer];
    m.silent = 1;
    sendMessage( ...
    ... +" has been permanently muted");
    m.sendMessage("A member of staff ...
    ... permanently muted you");
    }
    catch(Exception e) {
    ...
    ... of the player you want to permanently mute");
    }

    and....

    Code:
    if (command. ...
    ... ("unmute")) {
    try {
    String muted = command. ...
    ... (7);
    int playerMuted = PlayerHandler.getPlayerID(muted);
    ...
    ... ) server.playerHandler.players[playerMuted];
    m.silent = 0;
    m.tempmute = 0;
    m. ...
    ... ("A member of staff has lifted your mute, allowing you to talk again");
    ...
    ... (muted+" is no longer permanently muted");
    }
    ...
    ... the name of the player you want to unmute");
    }
    }

    if you know nothing about silab, don't reply

  2. #2
    Veteran Enthusiast Yadda's Avatar


    Join Date
    Mar 2006
    Location
    Ontario
    Posts
    7,862

    Re: silab serverz

    Your installing a MMORPG client on your server, chances are I don't think many of us are going to have a reasonable answer. Have you tried testing it?


  3. #3
    Dedicated Member
    Join Date
    Feb 2009
    Location
    500+ post count clubz
    Posts
    955

    Re: silab serverz

    Quote Originally Posted by Yadda
    Your installing a MMORPG client on your server, chances are I don't think many of us are going to have a reasonable answer. Have you tried testing it?
    yeah i was going to ask for a lock because i tested but i got temp banned sorry please lock


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •