![]() |
|
Help aaaPermissionsPlugin - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: Help aaaPermissionsPlugin (/Thread-Help-aaaPermissionsPlugin.html) |
aaaPermissionsPlugin - Dr3am95 - 05-11-2013 Hey guys, i wanted to separate the administration in two sides, one of them called HeadAdmins that can use all commands, and Admin that can use more commands that moderators, but cannot change the settings of the server like !speed. I tried it but i failed like a dumb. Can u please help me guys? Anyway Thanks a lot for all
RE: aaaPermissionsPlugin - hillbilly - 05-11-2013 Couldn't you do something like this? Ive setup Trainee mods and vip so should work i think. Usergroups=Admin,HeadAdmin,Moderator Admin_commands=!warn,!kick etc Admin_xuids= HeadAdmin_commands=*ALL* HeadAdmin_xuids= Moderator_commands=!warn etc etc Moderator_xuids= try this (untested) PHP Code: using Addon;
using System;
using System.Collections.Generic;
namespace _PermissionPlugin
{
public class _PermissionPlugin : CPlugin
{
public List<string> Admins;
public List<string> UserGroups;
public override void OnServerLoad()
{
base.ServerPrint("PersonalPermission plugin loaded. Author: Pozzuh. Edited @hillbilly Version 2.1");
this.initUserGroups();
this.firstStart();
}
private void firstStart()
{
if (base.GetServerCFG("Permission", "Usergroups", "x") == "x")
{
base.SetServerCFG("Permission", "Usergroups", "HeadAdmin,Admin,Moderator,User");
}
if (base.GetServerCFG("Permission", "Admin_xuids", "x") == "x")
{
base.SetServerCFG("Permission", "Admin_xuids", "xuid1,xuid2,xuid3");
}
if (base.GetServerCFG("Permission", "Admin_commands", "x") == "x")
{
base.SetServerCFG("Permission", "Admin_commands", "!kick,!ban");
}
if (base.GetServerCFG("Permission", "HeadAdmin_xuids", "x") == "x")
{
base.SetServerCFG("Permission", "HeadAdmin_xuids", "xuid1,xuid2,xuid3");
}
if (base.GetServerCFG("Permission", "HeadAdmin_commands", "x") == "x")
{
base.SetServerCFG("Permission", "HeadAdmin_commands", "*ALL*");
}
if (base.GetServerCFG("Permission", "Moderator_xuids", "x") == "x")
{
base.SetServerCFG("Permission", "Moderator_xuids", "xuid1,xuid2,xuid3");
}
if (base.GetServerCFG("Permission", "Moderator_commands", "x") == "x")
{
base.SetServerCFG("Permission", "Moderator_commands", "!help,!getxuid,!gettype");
}
if (base.GetServerCFG("Permission", "User_commands", "x") == "x")
{
base.SetServerCFG("Permission", "User_commands", "!help,!getxuid,!gettype");
}
if (base.GetServerCFG("Permission", "User_xuids", "x") == "x")
{
base.SetServerCFG("Permission", "User_xuids", "*EVERYONE*");
}
}
private void initUserGroups()
{
this.UserGroups = new List<string>();
string serverCFG = base.GetServerCFG("Permission", "Usergroups", "HeadAdmin,Admin,Moderator,User");
string[] array = serverCFG.Split(new char[]
{
','
});
for (int i = 0; i < array.Length; i++)
{
string item = array[i];
this.UserGroups.Add(item);
}
}
private List<string> getUsersInGroup(string groupname)
{
List<string> list = new List<string>();
string serverCFG = base.GetServerCFG("Permission", groupname + "_xuids", " ");
if (serverCFG != " ")
{
string[] array = serverCFG.Split(new char[]
{
','
});
for (int i = 0; i < array.Length; i++)
{
string item = array[i];
list.Add(item);
}
}
else
{
if (groupname != "User")
{
base.ServerPrint("No users set for group: " + groupname);
}
}
return list;
}
private List<string> getCommandsAllowedInGroup(string groupname)
{
List<string> list = new List<string>();
string serverCFG = base.GetServerCFG("Permission", groupname + "_commands", " ");
if (serverCFG != " ")
{
string[] array = serverCFG.Split(new char[]
{
','
});
for (int i = 0; i < array.Length; i++)
{
string item = array[i];
list.Add(item);
}
}
else
{
base.ServerPrint("No commands set for group: " + groupname);
}
return list;
}
private string getUserGroup(string xuid)
{
foreach (string current in this.UserGroups)
{
List<string> list = new List<string>();
list = this.getUsersInGroup(current);
if (list.Contains(xuid))
{
return current;
}
}
return "User";
}
public override ChatType OnSay(string Message, ServerClient Client)
{
string userGroup = this.getUserGroup(Client.XUID);
string text = Message.ToLower();
if (text.StartsWith("!getxuid"))
{
base.TellClient(Client.ClientNum, "Your xuid is: '" + Client.XUID + "'.", true);
return ChatType.ChatNone;
}
if (text.StartsWith("!gettype"))
{
base.TellClient(Client.ClientNum, "Your user type is: '" + userGroup + "'.", true);
return ChatType.ChatNone;
}
if (text.StartsWith("!help") || text.StartsWith("!cmdlist"))
{
List<string> commandsAllowedInGroup = this.getCommandsAllowedInGroup(userGroup);
string text2 = "cmd:^1:^7 ";
for (int i = 0; i < commandsAllowedInGroup.Count; i++)
{
if (i == commandsAllowedInGroup.Count - 2)
{
text2 = text2 + commandsAllowedInGroup[i] + "^1 and^7";
}
else
{
if (i == commandsAllowedInGroup.Count - 1)
{
text2 = text2 + commandsAllowedInGroup[i] + "^1.";
}
else
{
text2 = text2 + commandsAllowedInGroup[i] + "^1,^7 ";
}
}
}
base.TellClient(Client.ClientNum, text2, true);
return ChatType.ChatNone;
}
if (!(userGroup != "HeadAdmin"))
{
return ChatType.ChatContinue;
}
if (!text.StartsWith("!"))
{
return ChatType.ChatAll;
}
List<string> commandsAllowedInGroup2 = this.getCommandsAllowedInGroup(userGroup);
if (commandsAllowedInGroup2.Contains(text.Split(new char[]
{
' '
})[0]))
{
return ChatType.ChatContinue;
}
base.TellClient(Client.ClientNum, "^1You aren't allowed to use that command!", true);
base.iPrintLnBold("^1You aren't allowed to use that command!", Client);
return ChatType.ChatNone;
}
}
}
RE: aaaPermissionsPlugin - Dr3am95 - 05-11-2013 wow, works fine for now.. Thanks. But it will change something about ChatPLugin? thanks RE: aaaPermissionsPlugin - hillbilly - 05-11-2013 (05-11-2013, 13:57)Dr3am95 Wrote: wow, works fine for now.. Thanks. But it will change something about ChatPLugin? thanks should work use one below. RE: aaaPermissionsPlugin - hillbilly - 05-12-2013 Ok double chat bug fixed, only issue is you will need to put in the cmds for the HeadAdmin, still testing the rest. Use aapermissions included. [ChatPlugin] // Disable the plugin for all clients by default? DisableChatPlugin=false // The groups to use for the chat plugin GroupsToUse=HeadAdmin,Trainee_Moderator,Senior_Moderator,Moderator,Admin // The messages for the groups specified MessageForAdmin=^1[^4{0}^1] ^7{1}^7: {2} MessageForModerators=[^2{0}] ^7{1}^7: {2} MessageForTrainee_Moderators=[^2{0}] ^7{1}^7: {2} MessageForHeadAdmin=[^3{0}] ^7{1}^7: {2} MessageForSenior_Moderator=[^3{0}] ^7{1}^7: {2} HeadAdmin_commands=!ban etc RE: aaaPermissionsPlugin - Dr3am95 - 05-12-2013 Thanks, I will try it, i hope that works Still doesnt work, i think that i make all, but a new error appear. When i type !gettype i am HeadAdmin, but i cannot use the commands that i setted in where u said, I post u my whole sv_config if that helps Code: [SERVER]
TimedMessages=1
//Enable or disable timed messages [0-1]
SpecsFix=1
//Disable the CPU/Bandwidth check [0-1]
OldRotation=0
//Enable the old cod4-style rotation (see example server.cfg) [0-1]
OldRotationVal=playlist tdm_default map mp_dome playlist sd_default map mp_alpha playlist jug_default map mp_carbon
//OldRotation configuration
RotationThreshold=1
//Disable map rotation threshold (set to 0)
DisableVAC=0
//[UNTESTED] Stop VAC from protecting your server
[LOG]
ConsoleLog=1
//Enable logging to the 'console.log' file [0-1]
[SCRIPT]
Enabled=0
//Enable the server script [0-1]
Script=example.script
//Server script to run
[DEBUG]
ExceptionLogging=0
//Enable logging of crashes [0-1]
[UPDATER]
Enable=0
//Enable the updater
AutoUpdate=0
//Auto-update the server when there is a new release. (Mainly for dedicated servers on game server hosters)
[GodPlugin]
kickwarnings=3
Customname1=Infected
Customname2=Infected
Customname3=Infected
usePermissions=true
GodPluginSupport=0
useLangFilter=false
warningTTL=12
pmrules=true
Admins=011000010255ff65,0110000101205a57
warningtempban=true
kickmessage=^4 <playername> ^7 Has Been ^1Droped ^7For <reason> By <issuer>
banmessage=^4<playername>^7 Has Been ^1Banned^7 By <issuer>
tmpbanmessage=^4<playername> ^7Has Been ^1Kicked ^7 For <reason> By <issuer>
warnkickmessage=^4<playername> ^7 Was ^1Kicked ^7For: <reason>
warnmessage=^4<playername>^7 Was ^1Warned For <reason>
unwarnmessage=^4<playername>^7 Was ^1Unwarned <reason>
[Permission]
Usergroups=Admin,Moderator,User,HeadAdmin
Admin_xuids=011000010255ff65,01100001057a3927
Admin_commands=!help,!getxuid,!gettype,!saveme,!tp,!back,!ping,!rules,!nextmap,!warn,!unwarn,!reserved,!y,!goto,!kick,!ban,!tempban,!pl,!tempbanc,!kickc,!banc,!mapdome,!mapbootleg,!maphardhat,!mapfallen,!mapresistance,!mapinterchange,!maparkaden,!mapoutpost,!mapmission,!mapunderground,!mapdownturn,!mapcarbon,!mapterminal,!maplockdown,!mapvillage,!mapseatown,!mapbakaara,!mapaground,!maperosion,!maprestart,!check,!rcon,!nc,!godmode
HeadAdmin_xuids=0110000103b90343
Moderator_xuids=0110000107383183,0110000105933f01,0110000107663241,0110000105a9f42b,01100001046be205,011000010592701a,011000010569cd86,0110000103f5ec70,
Moderator_commands=!help,!getxuid,!gettype,!saveme,!setpos,!loadpos,!savepos,!row,!box,!floor,!b-,!b+,!l-,!l+,!map,!nc,!dnc,!goto,!godmode,!check,!come,!ccome,!toggletag
User_xuids=*EVERYONE*
User_commands=!help,!getxuid,!gettype,!saveme,!check
[ChatPlugin]
// Disable the plugin for all clients by default?
DisableChatPlugin=false
// The groups to use for the chat plugin
GroupsToUse=HeadAdmin,Moderator,Admin
// The messages for the groups specified
MessageForAdmin=[^4{0}^7] ^7{1}^7: {2}
MessageForModerators=[^2{0}] ^7{1}^7: {2}
MessageForHeadAdmin=^1[^4{0}^1] ^7{1}^7: {2}
HeadAdmin_commands=!help,!getxuid,!gettype,!saveme,!tp,!back,!ping,!rules,!nextmap,!warn,!unwarn,!reserved,!y,!goto,!kick,!ban,!tempban,!pl,!tempbanc,!kickc,!banc,!mapdome,!mapbootleg,!maphardhat,!mapfallen,!mapresistance,!mapinterchange,!maparkaden,!mapoutpost,!mapmission,!mapunderground,!mapdownturn,!mapcarbon,!mapterminal,!maplockdown,!mapvillage,!mapseatown,!mapbakaara,!mapaground,!maperosion,!maprestart,!check,!rcon,!nc,!dnc,!godmode,!speed,!jumpheight,!gravity,!freeze,!knife,!unfreeze,!come,!ccome,!box,!l-,!l+,!b+,!b-,!row,!floor,!savepos,!loadpos,!setpos
[PingPlugin]
MaxPing=1000
MaxWarnings=3
MaxGraceSeconds=10
Interval=20
[Saveme]
TimeBeforeTeleport=3
//default value is 3 seconds
TeleportRequests=0
//default value is 0. 0 means that the player can teleport unlimited times
MaxFallSpeed=10000
//default value is 10000. This option teleports the player if he have a higher fallspeed than this value.
//Usefull to teleport automatically when poeple are falling endless through the map
//Set this option to 0 if you want this to be deactivated
[ServerAd]
//Text to be displayed
Text=^0Welcome To ^1|^7RR^1|^2Test ^1Server^7.^4 Anyone^7 in^1 not allowed spot^7? Type^4 !check
//FontScale
FontSize=1.6
[TeamName]
enable = true
//or false
teamname_axis= ^1 Infected
//teamname for axis
teamname_allies= ^2 Still alive...
//teamname for allies
retry=10
//minutes after which the dvar is automatically changed
[SPEEDPLUGIN]
Speed=400
JumpHeight=600
FallDamage=0
Gravity=800
[TURRET]
//how long you can use the turret until it breaks
timeinturret=12
//how long the turrets pause
pause=17
//the press F radius of the turrets
radius=50
turrets=2
//Format: turret123=mapname,OriginX,OriginY,OriginZ,rotation
//use 0,90,180,270 or 360 for the rotation
turret1=mp_plaza2,4602,3882,3445,270
turret2=mp_exchange,4628,-3984,2664,90
[GODHOUSE]
command=!check
//NAME is- a makro
message=^1NAME^7 got teleported for ^4GH camping!!!
//tele2=,mp_name,x,y,bottom,top,radius,deathbarrierX,deathbarrierY,deathbarrierZ
teleports=70
tele1=,mp_underground,1004,6368,-226,-16,345,16,1629,-361
tele2=,mp_underground,1094,-5260,-319,-214,100,16,1629,-361
tele3=,mp_underground,1127,-5432,-319,-214,100,16,1629,-361
tele4=,mp_underground,1435,-5793,-319,-214,50,16,1629,-361
tele5=,mp_underground,1609,-6059,-319,-214,50,16,1629,-361
tele6=,mp_underground,641,-5547,-319,-200,100,16,1629,-361
tele7=,mp_underground,446,-3892,-316,-200,100,16,1629,-361
tele8=,mp_underground,-2523,1235,-209,-200,25,16,1629,-361
tele9=,mp_underground,287,7470,-319,-214,200,16,1629,-361
tele10=,mp_underground,-5759,7542,8,201,800,16,1629,-361
tele11=,mp_underground,-5762,8237,8,200,800,16,1629,-361
tele12=,mp_underground,-5757,9184,8,200,800,16,1629,-361
tele13=,mp_underground,-5759,5666,8,200,800,16,1629,-361
tele14=,mp_underground,-5762,6923,8,200,600,16,1629,-361
tele15=,mp_bootleg,-5416,-4359,-225,-200,20000,-2254,219,-348
tele16=,mp_bootleg,-1236,1799,110,160,35,-2254,219,-348
tele17=,mp_bootleg,-1159,2174,-89,-37,50,-2254,219,-348
tele18=,mp_bootleg,-1709,2263,-115,-87,275,-2254,219,-348
tele19=,mp_bootleg,-242,-1402,-64,-53,25,-2254,219,-348
tele20=,mp_hardhat,129,-3260,1088,1100,50,711,409,-247
tele21=,mp_hardhat,730,-3269,960,983,50,711,409,-247
tele22=,mp_hardhat,-1556,-3356,1088,1100,50,711,409,-247
tele23=,mp_hardhat,2306,-3243,1088,1100,50,711,409,-247
tele24=,mp_hardhat,2648,-3250,1088,1100,50,711,409,-247
tele25=,mp_hardhat,3182,-893,960,972,50,711,409,-247
tele26=,mp_hardhat,3070,-203,960,972,50,711,409,-247
tele27=,mp_hardhat,3045,1693,960,972,50,711,409,-247
tele28=,mp_hardhat,1830,-527,1640,1654,30,711,409,-247
tele29=,mp_hardhat,0,0,-200,-180,20000,711,409,-247
tele30=,mp_hardhat,5997,-15616,262,282,750,711,409,-247
tele31=,mp_hardhat,6654,-12675,262,282,500,711,409,-247
tele32=,mp_hardhat,9115,-10901,262,282,500,711,409,-247
tele33=,mp_hardhat,9894,-16258,262,282,400,711,409,-247
tele34=,mp_hardhat,9894,-15443,262,282,400,711,409,-247
tele35=,mp_hardhat,13793,-13492,262,282,575,711,409,-247
tele36=,mp_hardhat,13793,-12524,262,282,575,711,409,-247
tele37=,mp_hardhat,11963,-11823,262,282,450,711,409,-247
tele38=,mp_hardhat,11218,-11823,262,282,450,711,409,-247
tele39=,mp_hardhat,14079,-7682,262,282,225,711,409,-247
tele40=,mp_hardhat,13508,-7682,262,282,225,711,409,-247
tele41=,mp_hardhat,12485,-7785,262,282,325,711,409,-247
tele42=,mp_hardhat,11782,-7785,262,282,325,711,409,-247
tele43=,mp_hardhat,9362,-12441,262,282,500,711,409,-247
tele44=,mp_hardhat,9969,-12441,262,282,500,711,409,-247
tele45=,mp_hardhat,8187,-11558,262,282,500,711,409,-247
tele46=,mp_hardhat,8187,-12238,262,282,500,711,409,-247
tele47=,mp_hardhat,7125,-8630,262,282,400,711,409,-247
tele48=,mp_hardhat,8707,-8173,262,282,500,711,409,-247
tele49=,mp_hardhat,5580,-10735,262,282,485,711,409,-247
tele50=,mp_hardhat,7354,-16338,262,282,400,711,409,-247
tele51=,mp_hardhat,8148,-16338,262,282,400,711,409,-247
tele52=,mp_hardhat,8772,-16338,262,282,400,711,409,-247
tele53=,mp_hardhat,5090,-12981,262,282,500,711,409,-247
tele54=,mp_hardhat,5421,-12053,262,282,500,711,409,-247
tele55=,mp_hardhat,6944,-7990,262,282,900,711,409,-247
tele56=,mp_hardhat,5692,-7835,262,282,400,711,409,-247
tele57=,mp_carbon,0,0,-780,-760,20000,-1983,-5301,2894
tele58=,mp_carbon,0,0,-7434,-7414,20000,-1983,-5301,2894
tele59=,mp_carbon,-900,-1146,4111,4151,50,-1983,-5301,289
tele60=,mp_carbon,-1121,-958,4272,4292,50,-1983,-5301,2894
tele61=,mp_carbon,3089,1816,5535,5620,400,-1983,-5301,2894
tele62=,mp_carbon,-3567,-907,3641,3681,150,-1983,-5301,2894
tele63=,mp_carbon,-4801,-3606,3483,3508,100,-1983,-5301,2894
tele64=,mp_carbon,3095,2227,5592,5612,45,-1983,-5301,2894
tele65=,mp_carbon,2681,2035,5525,5545,20,-1983,-5301,2894
tele66=,mp_carbon,3032,1402,5538,5558,35,-1983,-5301,2894
tele67=,mp_carbon,3061,2001,5943,5963,180,-1983,-5301,2894
tele68=,mp_carbon,2849,2141,5937,5957,40,-1983,-5301,2894
tele69=,mp_exchange,-1663,5756,-49,33,110,3746,1821,-9
tele70=,mp_exchange,0,0,-355,-345,20000,3746,1821,-9RE: aaaPermissionsPlugin - hillbilly - 05-12-2013 you have the HeadAdmin cmds in the incorrect place, remove them and replace below HeadAdmin_xuids like so Code: [SERVER]
TimedMessages=1
//Enable or disable timed messages [0-1]
SpecsFix=1
//Disable the CPU/Bandwidth check [0-1]
OldRotation=0
//Enable the old cod4-style rotation (see example server.cfg) [0-1]
OldRotationVal=playlist tdm_default map mp_dome playlist sd_default map mp_alpha playlist jug_default map mp_carbon
//OldRotation configuration
RotationThreshold=1
//Disable map rotation threshold (set to 0)
DisableVAC=0
//[UNTESTED] Stop VAC from protecting your server
[LOG]
ConsoleLog=1
//Enable logging to the 'console.log' file [0-1]
[SCRIPT]
Enabled=0
//Enable the server script [0-1]
Script=example.script
//Server script to run
[DEBUG]
ExceptionLogging=0
//Enable logging of crashes [0-1]
[UPDATER]
Enable=0
//Enable the updater
AutoUpdate=0
//Auto-update the server when there is a new release. (Mainly for dedicated servers on game server hosters)
[GodPlugin]
kickwarnings=3
Customname1=Infected
Customname2=Infected
Customname3=Infected
usePermissions=true
GodPluginSupport=0
useLangFilter=false
warningTTL=12
pmrules=true
Admins=011000010255ff65,0110000101205a57
warningtempban=true
kickmessage=^4 <playername> ^7 Has Been ^1Droped ^7For <reason> By <issuer>
banmessage=^4<playername>^7 Has Been ^1Banned^7 By <issuer>
tmpbanmessage=^4<playername> ^7Has Been ^1Kicked ^7 For <reason> By <issuer>
warnkickmessage=^4<playername> ^7 Was ^1Kicked ^7For: <reason>
warnmessage=^4<playername>^7 Was ^1Warned For <reason>
unwarnmessage=^4<playername>^7 Was ^1Unwarned <reason>
[Permission]
Usergroups=Admin,Moderator,User,HeadAdmin
Admin_xuids=011000010255ff65,01100001057a3927
Admin_commands=!help,!getxuid,!gettype,!saveme,!tp,!back,!ping,!rules,!nextmap,!warn,!unwarn,!reserved,!y,!goto,!kick,!ban,!tempban,!pl,!tempbanc,!kickc,!banc,!mapdome,!mapbootleg,!maphardhat,!mapfallen,!mapresistance,!mapinterchange,!maparkaden,!mapoutpost,!mapmission,!mapunderground,!mapdownturn,!mapcarbon,!mapterminal,!maplockdown,!mapvillage,!mapseatown,!mapbakaara,!mapaground,!maperosion,!maprestart,!check,!rcon,!nc,!godmode
HeadAdmin_xuids=0110000103b90343
HeadAdmin_commands=!help,!getxuid,!gettype,!saveme,!tp,!back,!ping,!rules,!nextmap,!warn,!unwarn,!reserved,!y,!goto,!kick,!ban,!tempban,!pl,!tempbanc,!kickc,!banc,!mapdome,!mapbootleg,!maphardhat,!mapfallen,!mapresistance,!mapinterchange,!maparkaden,!mapoutpost,!mapmission,!mapunderground,!mapdownturn,!mapcarbon,!mapterminal,!maplockdown,!mapvillage,!mapseatown,!mapbakaara,!mapaground,!maperosion,!maprestart,!check,!rcon,!nc,!dnc,!godmode,!speed,!jumpheight,!gravity,!freeze,!knife,!unfreeze,!come,!ccome,!box,!l-,!l+,!b+,!b-,!row,!floor,!savepos,!loadpos,!setpos
Moderator_xuids=0110000107383183,0110000105933f01,0110000107663241,0110000105a9f42b,01100001046be205,011000010592701a,011000010569cd86,0110000103f5ec70,
Moderator_commands=!help,!getxuid,!gettype,!saveme,!setpos,!loadpos,!savepos,!row,!box,!floor,!b-,!b+,!l-,!l+,!map,!nc,!dnc,!goto,!godmode,!check,!come,!ccome,!toggletag
User_xuids=*EVERYONE*
User_commands=!help,!getxuid,!gettype,!saveme,!check
[ChatPlugin]
// Disable the plugin for all clients by default?
DisableChatPlugin=false
// The groups to use for the chat plugin
GroupsToUse=HeadAdmin,Moderator,Admin
// The messages for the groups specified
MessageForAdmin=[^4{0}^7] ^7{1}^7: {2}
MessageForModerators=[^2{0}] ^7{1}^7: {2}
MessageForHeadAdmin=^1[^4{0}^1] ^7{1}^7: {2}
[PingPlugin]
MaxPing=1000
MaxWarnings=3
MaxGraceSeconds=10
Interval=20
[Saveme]
TimeBeforeTeleport=3
//default value is 3 seconds
TeleportRequests=0
//default value is 0. 0 means that the player can teleport unlimited times
MaxFallSpeed=10000
//default value is 10000. This option teleports the player if he have a higher fallspeed than this value.
//Usefull to teleport automatically when poeple are falling endless through the map
//Set this option to 0 if you want this to be deactivated
[ServerAd]
//Text to be displayed
Text=^0Welcome To ^1|^7RR^1|^2Test ^1Server^7.^4 Anyone^7 in^1 not allowed spot^7? Type^4 !check
//FontScale
FontSize=1.6
[TeamName]
enable = true
//or false
teamname_axis= ^1 Infected
//teamname for axis
teamname_allies= ^2 Still alive...
//teamname for allies
retry=10
//minutes after which the dvar is automatically changed
[SPEEDPLUGIN]
Speed=400
JumpHeight=600
FallDamage=0
Gravity=800
[TURRET]
//how long you can use the turret until it breaks
timeinturret=12
//how long the turrets pause
pause=17
//the press F radius of the turrets
radius=50
turrets=2
//Format: turret123=mapname,OriginX,OriginY,OriginZ,rotation
//use 0,90,180,270 or 360 for the rotation
turret1=mp_plaza2,4602,3882,3445,270
turret2=mp_exchange,4628,-3984,2664,90
[GODHOUSE]
command=!check
//NAME is- a makro
message=^1NAME^7 got teleported for ^4GH camping!!!
//tele2=,mp_name,x,y,bottom,top,radius,deathbarrierX,deathbarrierY,deathbarrierZ
teleports=70
tele1=,mp_underground,1004,6368,-226,-16,345,16,1629,-361
tele2=,mp_underground,1094,-5260,-319,-214,100,16,1629,-361
tele3=,mp_underground,1127,-5432,-319,-214,100,16,1629,-361
tele4=,mp_underground,1435,-5793,-319,-214,50,16,1629,-361
tele5=,mp_underground,1609,-6059,-319,-214,50,16,1629,-361
tele6=,mp_underground,641,-5547,-319,-200,100,16,1629,-361
tele7=,mp_underground,446,-3892,-316,-200,100,16,1629,-361
tele8=,mp_underground,-2523,1235,-209,-200,25,16,1629,-361
tele9=,mp_underground,287,7470,-319,-214,200,16,1629,-361
tele10=,mp_underground,-5759,7542,8,201,800,16,1629,-361
tele11=,mp_underground,-5762,8237,8,200,800,16,1629,-361
tele12=,mp_underground,-5757,9184,8,200,800,16,1629,-361
tele13=,mp_underground,-5759,5666,8,200,800,16,1629,-361
tele14=,mp_underground,-5762,6923,8,200,600,16,1629,-361
tele15=,mp_bootleg,-5416,-4359,-225,-200,20000,-2254,219,-348
tele16=,mp_bootleg,-1236,1799,110,160,35,-2254,219,-348
tele17=,mp_bootleg,-1159,2174,-89,-37,50,-2254,219,-348
tele18=,mp_bootleg,-1709,2263,-115,-87,275,-2254,219,-348
tele19=,mp_bootleg,-242,-1402,-64,-53,25,-2254,219,-348
tele20=,mp_hardhat,129,-3260,1088,1100,50,711,409,-247
tele21=,mp_hardhat,730,-3269,960,983,50,711,409,-247
tele22=,mp_hardhat,-1556,-3356,1088,1100,50,711,409,-247
tele23=,mp_hardhat,2306,-3243,1088,1100,50,711,409,-247
tele24=,mp_hardhat,2648,-3250,1088,1100,50,711,409,-247
tele25=,mp_hardhat,3182,-893,960,972,50,711,409,-247
tele26=,mp_hardhat,3070,-203,960,972,50,711,409,-247
tele27=,mp_hardhat,3045,1693,960,972,50,711,409,-247
tele28=,mp_hardhat,1830,-527,1640,1654,30,711,409,-247
tele29=,mp_hardhat,0,0,-200,-180,20000,711,409,-247
tele30=,mp_hardhat,5997,-15616,262,282,750,711,409,-247
tele31=,mp_hardhat,6654,-12675,262,282,500,711,409,-247
tele32=,mp_hardhat,9115,-10901,262,282,500,711,409,-247
tele33=,mp_hardhat,9894,-16258,262,282,400,711,409,-247
tele34=,mp_hardhat,9894,-15443,262,282,400,711,409,-247
tele35=,mp_hardhat,13793,-13492,262,282,575,711,409,-247
tele36=,mp_hardhat,13793,-12524,262,282,575,711,409,-247
tele37=,mp_hardhat,11963,-11823,262,282,450,711,409,-247
tele38=,mp_hardhat,11218,-11823,262,282,450,711,409,-247
tele39=,mp_hardhat,14079,-7682,262,282,225,711,409,-247
tele40=,mp_hardhat,13508,-7682,262,282,225,711,409,-247
tele41=,mp_hardhat,12485,-7785,262,282,325,711,409,-247
tele42=,mp_hardhat,11782,-7785,262,282,325,711,409,-247
tele43=,mp_hardhat,9362,-12441,262,282,500,711,409,-247
tele44=,mp_hardhat,9969,-12441,262,282,500,711,409,-247
tele45=,mp_hardhat,8187,-11558,262,282,500,711,409,-247
tele46=,mp_hardhat,8187,-12238,262,282,500,711,409,-247
tele47=,mp_hardhat,7125,-8630,262,282,400,711,409,-247
tele48=,mp_hardhat,8707,-8173,262,282,500,711,409,-247
tele49=,mp_hardhat,5580,-10735,262,282,485,711,409,-247
tele50=,mp_hardhat,7354,-16338,262,282,400,711,409,-247
tele51=,mp_hardhat,8148,-16338,262,282,400,711,409,-247
tele52=,mp_hardhat,8772,-16338,262,282,400,711,409,-247
tele53=,mp_hardhat,5090,-12981,262,282,500,711,409,-247
tele54=,mp_hardhat,5421,-12053,262,282,500,711,409,-247
tele55=,mp_hardhat,6944,-7990,262,282,900,711,409,-247
tele56=,mp_hardhat,5692,-7835,262,282,400,711,409,-247
tele57=,mp_carbon,0,0,-780,-760,20000,-1983,-5301,2894
tele58=,mp_carbon,0,0,-7434,-7414,20000,-1983,-5301,2894
tele59=,mp_carbon,-900,-1146,4111,4151,50,-1983,-5301,289
tele60=,mp_carbon,-1121,-958,4272,4292,50,-1983,-5301,2894
tele61=,mp_carbon,3089,1816,5535,5620,400,-1983,-5301,2894
tele62=,mp_carbon,-3567,-907,3641,3681,150,-1983,-5301,2894
tele63=,mp_carbon,-4801,-3606,3483,3508,100,-1983,-5301,2894
tele64=,mp_carbon,3095,2227,5592,5612,45,-1983,-5301,2894
tele65=,mp_carbon,2681,2035,5525,5545,20,-1983,-5301,2894
tele66=,mp_carbon,3032,1402,5538,5558,35,-1983,-5301,2894
tele67=,mp_carbon,3061,2001,5943,5963,180,-1983,-5301,2894
tele68=,mp_carbon,2849,2141,5937,5957,40,-1983,-5301,2894
tele69=,mp_exchange,-1663,5756,-49,33,110,3746,1821,-9
tele70=,mp_exchange,0,0,-355,-345,20000,3746,1821,-9RE: aaaPermissionsPlugin - 8q4s8 - 05-12-2013 Replace return ChatType.ChatAll; with return ChatType.ChatContinue; and the chatplugin should work too RE: aaaPermissionsPlugin - Dr3am95 - 05-12-2013 Works fine now btw, Thanks a lot all of u guys, Your are da best haha RE: aaaPermissionsPlugin - hillbilly - 05-12-2013 ruddy thing keeps crashing my server |