Description:
- VIP system for our Zombie Escape Mod, With this plugin you can make VIPs. This system now have:
- MultiJump
- Parachute
- Free Hours - Time All players will became VIPs
- Connect & Contact Messages
- Scoreboard Tag
- Multiply Weapons Damage
ze_connect_message 1
Show chat notice Message When VIP Connected? 1 = Show | 0 = Don't Show
ze_admin_contact "Admin Name"
Add your name or any contact method. To disable this change "Admin Name" to ""
ze_give_vip_multijump 1
Enable or Disable MultiJump for VIPs? 1 = Enable | 0 = Disable
ze_show_vip_scoreboard 1
Show VIP in the Score Board? 1 = Show | 0 = Don't Show
ze_give_vip_parachute 1
Enable or Disable Parachute for VIPs? 1 = Enable | 0 = Disable
ze_enable_happy_hours 1
Enable or Disable Happy Hours? 1 = Enable | 0 = Disable
ze_vip_happy_hours "9-12"
Happy hours: Start-End
ze_happy_hours_vip_flags "abcde"
Flags to give to all players in Happy Hours?
ze_vip_multiply_damage 1.2
Multiply VIP damage by this factor. 0 = Disabled
Natives (API):
ze_get_vip_flags(id)
This will return player flags as a bitflag sum. id is player index.
ze_set_vip_flags(id, iFlags)
Set player flags. id is the player index and iFlags is flags to give as bitflag sum.
ze_is_user_vip(id)
Check if user VIP or not. id is the player index.
say /vip
ORsay_team /vip
Show Online VIPs and Contact Message.
say /vips
ORsay_team /vips
Show Online VIPs and Contact Message.
say /getvip
ORsay_team /getvip
Show Motd about VIP.
Examples & Instructions:
- VIPs are set in ze_vips.ini in configs folder. There is flags and every flag give the player ability so default flags is:
- a -- Connect Message and VIP List
- b -- Multi-Jump
- c -- Parachute
- d -- Scoreboard Attrib.
- e -- VIP Damage
- Making VIPs Syntax: "Steam/Nick" "Password" "Flags" "ExpireDate"
- Some Examples:
- "STEAM_1:0:1442018137" "550" "abcde" "11-09-2018" - This VIP will get all flags and will be able to use all of them. Also will be removed at the expire date defined.
- "Raheem" "EscapersZone" "ab" "0" - This VIP will get only Connect Message and VIP List and Multi-Jump. This VIP will not expire will never automatically removed.
- Player can set the password normally from setinfo same as normal admin.
ze_happy_hours_vip_flags "Flags"
Will define when happy hours come what flags to be given for all players?
- You can change all cvars easily from ze_vip.cfg
- You need to install MultiJump and Parachute So that VIP system works correctly. Recommended Cvar:
ze_give_all_multijump 0
ze_give_all_parachute 0
- Don't forget to edit motd file ze_vip.txt and set your information there.
- Happy hours start and end time is depend on server time and server time depend on the machine which your server hosted on. Say thetime to get your server time inside the game.
ze_get_vip_flags(id)
Use it same as you use get_user_flags() Find flags in ze_vip.inc you can also add more flags as you need. Flag z mean this is normal player not vip.
ze_set_vip_flags(id, iFlags)
This native will set flags you give to player at the spawn and these flags will be removed at the end of the round. This not need password you can use in awards plugins and so on. iFlags is the flag in this format: VIP_A, VIP_B .... Some examples:ze_set_vip_flags(id, VIP_A)
This will set to the player Flag a only.ze_set_vip_flags(id, VIP_A|VIP_B)
This will set to player flags a and b.ze_set_vip_flags(id, VIP_A|VIP_B|VIP_C|VIP_D)
This will set to the players all the flags abcd
- In set vip flags native we can make things easy and you can set player flags like:
ze_set_vip_flags(id, read_flags("a"))
This will give player flag aze_set_vip_flags(id, read_flags("abc"))
This will give the player flags abc the three flags.
- You can change flags from code and recompile the plugin:
Code: Select all
#define VIP_MESSAGES VIP_A #define MULTIJUMP VIP_B #define PARACHUTE VIP_C #define SCOREBOARD VIP_D #define DAMAGE VIP_E #define NON_VIP VIP_Z
#define MULTIJUMP
or#define PARACHUTE
or both, so in this case you will not need to install these plugins so VIP plugin run correctly.
- At expire date, the VIP will automatically removed from the ze_vips.ini file. If you set expire date to 0 then it will never expire.
- Expire date format: day-month-year, Examples: 09-09-2019 or 9-9-2019 both valid.
- If you need to set happy hours start at 9 and end at 11 then:
ze_vip_happy_hours "9-11"
- You can change motd using this online HTML editor: https://www.quackit.com/html/online-html-editor/full/
- Spoiler!
Downloads: