added __on_player_connects and dis. fixes #294
This commit is contained in:
1 parent
a7cd2c49cc
commit
e2e45bb20d
8 files changed
+48
-2
No files matched your search
@@ -229,4 +229,18 @@ __on_player_changes_dimension(player, from_pos, from_dimension, to_pos, to_dimen
|
||||
print(' - player: '+player);
|
||||
print(' - from '+from_dimension+' at '+map(from_pos, str('%.2f',_)));
|
||||
print(' - to '+to_dimension+if(to_pos == null, '', ' at '+map(to_pos, str('%.2f',_))));
|
||||
)
|
||||
);
|
||||
|
||||
__on_player_connects(player) ->
|
||||
( // you will never sees it
|
||||
print('');
|
||||
print('__on_player_connects(player)');
|
||||
print('Player '+player+' connects.')
|
||||
);
|
||||
|
||||
__on_player_disconnects(player, reason) ->
|
||||
( // you will never sees it either
|
||||
print('');
|
||||
print('__on_player_disconnects(player)');
|
||||
print('Player '+player+' disconnects because: '+reason)
|
||||
);
|
||||
Reference in new issue
Block a user