ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by Thuishy*: Hi, i'm new to all this stuff and got stuck with a simple task to add in my server. I want to make a command to vip players, that they can use kill admin in himself. I thought use the text, they can say "!vip" and them die and who is not in the vip list get the message "this command it's only allowed to vip players" Someone can help me with this? Thanks! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by mimimimi*: Hi, i'm new to all this stuff and got stuck with a simple task to add in my server. I want to make a command to vip players, that they can use kill admin in himself. I thought use the text, they can say "!vip" and them die and who is not in the vip list get the message "this command it's only allowed to vip players" Someone can help me with this? Thanks!Code: On Init;Set %server_vip% "name1,name2,name3,etc" On Say;If %text% == !vip If %server_vip% contains %p%;Kill 100;Log Vip %p% killed himself with !vip command Not If %server_vip% contains %p%;PlayerSay this command it's only allowed to vip playersCan you tell me why people in general need such a command? this is another way to do it: Code: On Say;Admin;Text /makevip;TargetPlayer Set %ini_vip_list% %ini_vip_list%,%t% PlayerSay %t% succesfully added to vip list Log Admin %p% succesfully added to vip list player %t% On Say;If %text% == !vip If %ini_vip_list% contains %p%;Kill 100;Log Vip %p% killed himself with !vip command Not If %ini_vip_list% contains %p%;PlayerSay this command it's only allowed to vip playersuse ONLY one of these 2 rule sets let me know what works best for you Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by mimimimi*: Hello. I have a BF 4 server with different maps and modes, wanted me using the plug on a server ProconRulz prohibit the use of explosives, shotguns, clay more, RPG and the like. I intend to work principle of the appearance on the server rather than after the first killing, and for example the first 2 to kill and another is banned. Can someone help me with writing such a rule? Yours Przemek use this:myrcon.net/.../proconrulz-battlefield-4-pistols-and-melee-script you have to modify it for your needs, it is not hard, find the weapons code here: http://gamerethos.net/weapons.html and change them Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by Thuishy*: Thanks for the help, i'll test and later i reply if works or not. Can you tell me why people in general need such a command?I use this command for people that runs out of ammo not commit suicide to respawn, they use admin kill to not count as kill. This is more for snipers players, and my clan is focused in snipers and the server too, so it's good to use eventually. Edit: I realized that the message's log file for knife message rule in proconrulz resets after i restart procon layer, with this command that you wrote this will happen too? If yes, i thought the rule can pick the names for vip players from whitelist pool in ProconRulz configuration tab. Is that possible? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by mimimimi*: Code: On Say;If %text% == !vip Protected;Kill 100;Log Vip %p% killed himself with !vip command Not Protected;PlayerSay this command it's only allowed to vip playersthis wont work, and any other solutions wont work either if your vip players are whitelisted in proconrulz. what about log file? i didnt understand Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by mimimimi*: if you dont like messing with ini file in config folder in procon or on the proconlayer and you already have a list of players, and you are more familiar with your proconrulez_xxx.txt files this would be the best solution: Code: On Say;Admin;Text /setviplist Set %ini_vip_list% "name1,name2,name3,etc" PlayerSay !vip list updated. Log vip list updated [%ini_vip_list%] On Say;Admin;Text /makevip;TargetPlayer Set %ini_vip_list% %ini_vip_list%,%t% PlayerSay %t% succesfully added to vip list Log Admin %p% succesfully added to vip list player %t% On Say;If %text% == !vip If %ini_vip_list% contains %p%;Kill 100;Log Vip %p% killed himself with !vip command Not If %ini_vip_list% contains %p%;PlayerSay this command it's only allowed to vip players/setviplist will overwrite your %ini_vip_list% each time you issue this command in the chat. so if you add some new player with /makevip, do not run /setviplist command, you can always edit your rule and add more players, then run /setviplist, your choice. /makevip needs the players been actually on the server playing to be added. or if you dont care about adding new !vip player live, during a round, you can simply use the first solution, and edit the rule to add more players Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by Thuishy*: Code: On Say;Admin;Text /makevip;TargetPlayer Set %ini_vip_list% %ini_vip_list%,%t% PlayerSay %t% succesfully added to vip list Log Admin %p% succesfully added to vip list player %t% On Say;If %text% == !vip If %ini_vip_list% contains %p%;Kill 100;Log Vip %p% killed himself with !vip command Not If %ini_vip_list% contains %p%;PlayerSay this command it's only allowed to vip playersThis works only the non vip part that appear the message, but the @kill command wont work. Well, i have no idea how to make this, don't know too much of programing. What i need is a command that anyone can trigger with two results, one spawn a message and the other kills the player that triggered with @kill (admin command) and a list with the nick of players that die with this command (vip players). Or a exception list like you did before to me, but i don't know why doesn't work. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by Thuishy*: if you dont like messing with ini file in config folder in procon or on the proconlayer and you already have a list of players, and you are more familiar with your proconrulez_xxx.txt files this would be the best solution: Code: On Say;Admin;Text /setviplist Set %ini_vip_list% "name1,name2,name3,etc" On Say;Admin;Text /makevip;TargetPlayer Set %ini_vip_list% %ini_vip_list%,%t% PlayerSay %t% succesfully added to vip list Log Admin %p% succesfully added to vip list player %t% On Say;If %text% == !vip If %ini_vip_list% contains %p%;Kill 100;Log Vip %p% killed himself with !vip command Not If %ini_vip_list% contains %p%;PlayerSay this command it's only allowed to vip players/setviplist will override your %ini_vip_list% each time you issue this command in the chat. so if you add some new player with /makevip, do not run /setviplist command, you can always edit your rule and add more players, then run /setviplist, your choice. /makevip needs the players been actually on the server playing to be added Only the kill part doesn't work for me, i don't know it's because i'm admin or what, i will test with another person later. I supose that can kill an admin too... or not? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by mimimimi*: i dont know check the log it will say something about your attempt to kill yourself Plugin Settings Send ProconRulz Log messages to: PluginConsole Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by Thuishy*: i dont know check the log it will say something about your attempt to kill yourself Plugin Settings Send ProconRulz Log messages to: PluginConsole It works fine, thanks a lot, the problem i checked in proconrulz to protect admin for kill, now works! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by mimimimi*: Setting Protect these players from Kick or Kill to Neither in Plugin Settings make this rule work_? Code: On Say;If %text% == !vip Protected;Kill 100;Log Vip %p% killed himself with !vip command Not Protected;PlayerSay this command it's only allowed to vip playerscan you check it for me? make sure player is in the Reserved Slots list under the Lists tab, then load this rule only and issue the command, i am really curious about the reserved slot players, if they are part of the Protected condition only when "Protect these players from Kick or Kill is set to Admins_and_Reserved_Slots" in Plugin Settings Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by Thuishy*: Setting Protect these players from Kick or Kill to Neither in Plugin Settings make this rule work_? Code: On Say;If %text% == !vip Protected;Kill 100;Log Vip %p% killed himself with !vip command Not Protected;PlayerSay this command it's only allowed to vip playerscan you check it for me? make sure player is in the Reserved Slots list under the Lists tab, then load this rule only and issue the command, i am really curious about the reserved slot players, if they are part of the Protected condition No... the difference is that the message spawns twice when i check admin and reserved list. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by Thuishy*: Edit: I set to Neither and issue the !vip command with my nick only in the reserved slot (not admin) and got the message "this command it's only allowed to vip players" and when set in admin and reserved slot, the command didn't kill me. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by mimimimi*: ok, thank you, so what rule are you using now? bc we can improve it by alot, make it better Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by Thuishy*: ok, thank you, so what rule are you using now? bc we can improve it by alot, make it betteri'm using this: Code: On Say;Admin;Text /setviplist Set %ini_vip_list% "name1,name2,name3,etc" PlayerSay !vip list updated. Log vip list updated [%ini_vip_list%] On Say;Admin;Text /makevip;TargetPlayer Set %ini_vip_list% %ini_vip_list%,%t% PlayerSay %t% succesfully added to vip list Log Admin %p% succesfully added to vip list player %t% On Say;If %text% == !vip If %ini_vip_list% contains %p%;Kill 100;Log Vip %p% killed himself with !vip command Not If %ini_vip_list% contains %p%;PlayerSay this command it's only allowed to vip playersI'll just use the /setviplist, with already know players that are vip, but if i need add someone during the game without restart procon layer (because it's erase the data) i use the /makevip Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by mimimimi*: Code: On Say;Admin;Text /setviplist Set %ini_vip_list% "name1,name2,name3,etc" PlayerSay !vip list updated. Log vip list updated to "%ini_vip_list%" On Say;Admin;Text /makevip Set %command% none;TargetPlayer;Set %command% %t% If %command% != none;If %ini_vip_list% contains %t%;PlayerSay Attention player %t% is already in vip list, check log for details;Log ^1Attention ^2%t% ^0already in vip list If %command% != none;Set %ini_vip_list% %ini_vip_list%,%t% If %command% != none;PlayerSay %t% succesfully added to vip list If %command% != none;Log Admin %p% added ^2%t% ^0to vip list: "%ini_vip_list%" If %command% == none;PlayerSay Could not identify the player unique or player not found! On Say;If %text% == !vip If %ini_vip_list% contains %p%;Kill 100;Log Vip %p% killed himself with !vip command Not If %ini_vip_list% contains %p%;PlayerSay this command it's only allowed to vip playersi would use this myself, it has a couple of nice feutures Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2015 Share Posted September 26, 2015 Originally Posted by Thuishy*: Thanks for the support, i really appreciate! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 27, 2015 Share Posted September 27, 2015 Originally Posted by Thuishy*: i would use this myself, it has a couple of nice feutures Now that i put the plugin to run continuously i've noticed that i have to type "/setviplist" everytime that the server changes the map, is it possible to make it automatic to function when i'm offline, only the procon layer running? I also noticed that with the rule of knife message the same thing happens, everytime another round starts i have to set the message i want to say when i kill someone with the knife (nothing to bother with, but would be nice to not to have to put the message all the time). Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 27, 2015 Share Posted September 27, 2015 Originally Posted by mimimimi*: did you uploaded the rule on your layer? i mean the .txt file? otherwhise i have no idea why is doing that. anyone has any advise? edit: when this proplem occur you should open this folder on your layer Configs then open this file yourserverip_47200_proconrulz.ini use find and search for list= check if there is such a line and if there are all your vip players in there another thing you can try is procon > Tools > Options > Plugins > Plugin security: Run plugins with no restrictions restart procon but i dont know if changing this will affect your layer, or if this is the solution you need, need someone with more knowledge to help you Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 27, 2015 Share Posted September 27, 2015 Originally Posted by Lt_Starbuck_BR*: Could someone help me to create a rule to kill a who spawn using some grenades like smoke, incendiary or flashbangs. Thanks folks. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 27, 2015 Share Posted September 27, 2015 Originally Posted by Beastman*: Hello! How to set when players join server auto welcome message "Welcome xxx Join Server , xxx from xxx(country)" Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 27, 2015 Share Posted September 27, 2015 Originally Posted by mimimimi*: Code: On Spawn;PlayerOnce;Say Welcome xxx Join Server , %p% from %pcountry% Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 27, 2015 Share Posted September 27, 2015 Originally Posted by fetzar*: thanks I can use this for join anouncer Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 27, 2015 Share Posted September 27, 2015 Originally Posted by Thuishy*: edit: when this proplem occur you should open this folder on your layer Configs then open this file yourserverip_47200_proconrulz.ini I didn't find this file anywhere, there is just one folder in my layer server called "configs" and there is no file with such name, also i searched the others folders, but nothing... Maybe this file is temporary? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 27, 2015 Share Posted September 27, 2015 Originally Posted by mimimimi*: no its not. just to know: is this bf4? what is your game server provider? you should ask assistance to your gsp in my opinion ---------------------- check proconrulz documentation for the use of variables to store longer-term values: http://www.forsterlewis.com/proconrulz.pdf pag 28 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 27, 2015 Share Posted September 27, 2015 Originally Posted by Thuishy*: Yes is BF4, it's a fragnet server. Edit: I saw the page, I'll ask assistance to fragnet, thanks for helping again. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 28, 2015 Share Posted September 28, 2015 Originally Posted by ty_ger07*: Could someone help me to create a rule to kill a who spawn using some grenades like smoke, incendiary or flashbangs. Thanks folks. Not possible with this plugin. You need a plugin which queries battlelog to get that information since that information isn't sent to procon. Use Onspawn Loadout Enforcer plugin. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 28, 2015 Share Posted September 28, 2015 Originally Posted by Thuishy*: Found the problem with the plugin, the option in procon program that you said procon > Tools > Options > Plugins > Plugin security: Run plugins with no restrictions, was ok, I did that early, but I found one line in procon.cfg in configs folder that was true and i wrote false>> "procon.private.options.runPluginsInSandbox False" and worked Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 28, 2015 Share Posted September 28, 2015 Originally Posted by Beastman*: Code: On Spawn;PlayerOnce;Say Welcome xxx Join Server , %p% from %pcountry% thank you so much Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 1, 2015 Share Posted October 1, 2015 Originally Posted by xr650rhonda*: I have gamed on a Battlefield 4 server that allowed the player to use a "!knife" command in chat to add your own personal knife message. At first I was thinking it was the Adkats plugin that would make this possible, but after looking through hundreds of pages of Adkats, I don't think so. I searched the procon forums and did several google searches and found this page in this thread. printthread...pp=10&page=483* It has a knife example, but not custom input. I really am lost and would appreciate any help! Quote * Restored post. It could be that the author is no longer active. Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.