Blockland Forums > Help
City RP - Banned Events
iBlox / (-Nick-):
I am using Iban's City RP. I know that in preferences in the City RP folder there is a section with banned events. I was wondering how to add these events to the ones you can't use:
OnActivate - Minigame - (ChatMsgAll, BottomPrintAll, CenterPrintAll) - (Message here)
Preferences folder:
// ============================================================
// Section 9 : Banned Events
// ============================================================
// $CityRPG::bannedEvent[nameSpace, name] = true; results in ban
// Note: This system is archaic.
// AIPlayer
$CityRPG::bannedEvent["AIPlayer", "setPlayerScale"] = true;
// fxDTSBrick
$CityRPG::bannedEvent["fxDTSBrick", "spawnExplosion"] = true;
$CityRPG::bannedEvent["fxDTSBrick", "spawnProjectile"] = true;
// gameConnection
$CityRPG::bannedEvent["gameConnection", "bottomPrint"] = true;
$CityRPG::bannedEvent["gameConnection", "incScore"] = true;
$CityRPG::bannedEvent["gameConnection", "instantRespawn"] = true;
// Player
$CityRPG::bannedEvent["Player", "addHealth"] = true;
$CityRPG::bannedEvent["Player", "addVelocity"] = true;
$CityRPG::bannedEvent["Player", "changeDatablock"] = true;
$CityRPG::bannedEvent["Player", "clearTools"] = true;
$CityRPG::bannedEvent["Player", "kill"] = true;
$CityRPG::bannedEvent["Player", "setHealth"] = true;
$CityRPG::bannedEvent["Player", "setPlayerScale"] = true;
$CityRPG::bannedEvent["Player", "spawnExplosion"] = true;
$CityRPG::bannedEvent["Player", "spawnProjectile"] = true;
$CityRPG::bannedEvent["Player", "setVelocity"] = true;
I have tried these without any luck:
- $CityRPG::bannedEvent["Player", "ChatMsgAll"] = true;
- $CityRPG::bannedEvent["Minigame", "ChatMsgAll"] = true; (^Both under the "// Player" part^)
- // Minigame
$CityRPG::bannedEvent["Minigame", "ChatMsgAll"] = true; (For this, I tried making a new section called "Minigame" since there was a "Player" section)
otto-san:
I'm 97% certain there is no magic that makes it work by changing a global pref.
There has to be some sort of package for each one that disables it.
iBlox / (-Nick-):
--- Quote from: otto-san on February 19, 2012, 10:58:34 PM ---I'm 97% certain there is no magic that makes it work by changing a global pref.
There has to be some sort of package for each one that disables it.
--- End quote ---
So you don't know what to do?
otto-san:
--- Quote from: otto-san on February 19, 2012, 10:58:34 PM ---There has to be some sort of package for each one that disables it.
--- End quote ---
iBlox / (-Nick-):
--- Quote from: otto-san on February 19, 2012, 10:58:34 PM ---There has to be some sort of package for each one that disables it.
--- End quote ---
What does that mean?