SHOW:
|
|
- or go back to the newest paste.
| 1 | command /infos [<text>] [<player>]: | |
| 2 | - | permission: info.use |
| 2 | + | permission: infos.use |
| 3 | trigger: | |
| 4 | if arg 1 is "joueur": | |
| 5 | - | set {_ping} to player's ping
|
| 5 | + | set {_ping} to player's ping
|
| 6 | - | send "&c----&7[&2Info %arg 1%&7]&c----" |
| 6 | + | set {_ipj} to player's ip
|
| 7 | - | send "&7Ping: &6%{_ping}% &7MS"
|
| 7 | + | send "&c----&7[&2Info %arg 2%&7]&c----" |
| 8 | - | set {_ipj} to player's ip
|
| 8 | + | send "&7Ping: &6%{_ping}% &7MS"
|
| 9 | - | send "&7IP: &6%{_ipj}%"
|
| 9 | + | send "&7IP: &6%{_ipj}%"
|
| 10 | - | send "&c------------------" |
| 10 | + | send "&c------------------" |
| 11 | if arg 1 is "serveur": | |
| 12 | if arg 2 is not set: | |
| 13 | - | set {_free} to free memory #f
|
| 13 | + | set {_free} to free memory
|
| 14 | - | set {_maxm} to max memory #f
|
| 14 | + | set {_maxm} to max memory
|
| 15 | - | set {_maxp} to max players #f
|
| 15 | + | set {_maxp} to max players
|
| 16 | - | set {_ips} to server's ip #f
|
| 16 | + | set {_ips} to server's ip
|
| 17 | - | set {_name} to server's name #f
|
| 17 | + | set {_name} to server's name
|
| 18 | - | set {_port} to server's port #f
|
| 18 | + | set {_port} to server's port
|
| 19 | - | set {_tps} to tps #f
|
| 19 | + | set {_tps} to tps
|
| 20 | - | set {_total} to total memory #f
|
| 20 | + | set {_total} to total memory
|
| 21 | send "&c----&7[&2Info Serveur&7]&c----" | |
| 22 | send " &5Serveurs" | |
| 23 | send "&7Serveur IP: &6%{_ips}%"
| |
| 24 | send "&7Serveur Port: &6%{_port}%"
| |
| 25 | send "&7Serveur TPS: &7%{_tps}%"
| |
| 26 | send "&7Nom Du Serveur: &6%{_name}%"
| |
| 27 | send " &5Joueurs" | |
| 28 | send "&7Maximum Joueurs: &6%{_maxp}%"
| |
| 29 | send " &5Memoires" | |
| 30 | send "&7Memoire Libre: &6%{_free}%"
| |
| 31 | send "&7Memoire Maximum: &6%{_maxm}%"
| |
| 32 | send "&7Memoire Total: &6%{_total}%"
| |
| 33 | send "&c--------------" |