2018-09-08 18:29:30 -04:00
|
|
|
var plugin = {
|
|
|
|
author: 'RaidMax',
|
|
|
|
version: 1.0,
|
|
|
|
name: 'Shared GUID Kicker Plugin',
|
|
|
|
|
|
|
|
onEventAsync: function (gameEvent, server) {
|
|
|
|
// connect event
|
|
|
|
if (gameEvent.Type === 3 ||
|
|
|
|
gameEvent.Type === 4) {
|
|
|
|
if (gameEvent.Origin.NetworkId === -805366929435212061) {
|
2018-09-08 21:20:11 -04:00
|
|
|
gameEvent.Origin.Kick('Your GUID is generic. Delete players/guids.dat and rejoin', _IW4MAdminClient);
|
2018-09-08 18:29:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
onLoadAsync: function (manager) {
|
|
|
|
},
|
|
|
|
|
|
|
|
onUnloadAsync: function () {
|
|
|
|
},
|
|
|
|
|
|
|
|
onTickAsync: function (server) {
|
|
|
|
}
|
|
|
|
};
|