Jump to content

ProconRulz V44j1 - weapon limits and other event-triggered admin actions


ColColonCleaner

Recommended Posts

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!

* Restored post. It could be that the author is no longer active.
Link to comment

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 players
Can 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 players
use ONLY one of these 2 rule sets

 

let me know what works best for you

* Restored post. It could be that the author is no longer active.
Link to comment

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

* Restored post. It could be that the author is no longer active.
Link to comment

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?

* Restored post. It could be that the author is no longer active.
Link to comment

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 players
this wont work, and any other solutions wont work either if your vip players are whitelisted in proconrulz.

 

what about log file? i didnt understand

* Restored post. It could be that the author is no longer active.
Link to comment

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

* Restored post. It could be that the author is no longer active.
Link to comment

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 players
This 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.
* Restored post. It could be that the author is no longer active.
Link to comment

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?
* Restored post. It could be that the author is no longer active.
Link to comment

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! :ohmy:
* Restored post. It could be that the author is no longer active.
Link to comment

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 players
can 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

* Restored post. It could be that the author is no longer active.
Link to comment

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 players
can 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.
* Restored post. It could be that the author is no longer active.
Link to comment

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.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Thuishy*:

 

ok, thank you, so what rule are you using now? bc we can improve it by alot, make it better

i'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 players
I'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
* Restored post. It could be that the author is no longer active.
Link to comment

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 players
i would use this myself, it has a couple of nice feutures :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Thuishy*:

 

i would use this myself, it has a couple of nice feutures :smile:

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).
* Restored post. It could be that the author is no longer active.
Link to comment

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

* Restored post. It could be that the author is no longer active.
Link to comment

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?
* Restored post. It could be that the author is no longer active.
Link to comment

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

* Restored post. It could be that the author is no longer active.
Link to comment

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.
* Restored post. It could be that the author is no longer active.
Link to comment

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 :smile:

* Restored post. It could be that the author is no longer active.
Link to comment

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!

* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.