Advertisement
galovikCode

Untitled

Jul 5th, 2015
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. $this->properties = preg_replace('/- *max_players *(.*)?/', $this->server->slots, $this->properties);
  2. $this->properties = preg_replace('/host: *(.*)?/', $$this->server->master->ip.':'.$this->server->port_number, $this->properties);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement