Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I need a code to use! help me plz

Comments in 'Plugin Development' started by JassperBeastHD, Dec 8, 2013.

  1. JassperBeastHD
    Offline

    JassperBeastHD Banned

    Joined:
    Aug 27, 2013
    Posts:
    436
    Minecraft User:
    JassperBeastHD
    Does anyone know a code that change servername when server running without restarting.
    Glitchmaster_PE likes this.
  2. ZacHack
    Offline

    ZacHack Staff Member Sectional Moderator

    Joined:
    Aug 23, 2013
    Posts:
    326
    Plugins:
    6
    Minecraft User:
    _ZacHack_
    I dont think you can change it but you can check it with $this->server->name; but you need $this->server = ServerAPI::request(); on the function __construct

Share This Page

Advertisement