Removal of hardcoded events and addition of player isOnCustomEvent methods.

This commit is contained in:
MobiusDevelopment
2021-10-28 21:26:33 +00:00
parent d0c5cfe4c7
commit 8fdb4899ac
323 changed files with 580 additions and 40245 deletions

View File

@@ -67,43 +67,6 @@
<admin command="admin_create_coin" accessLevel="80" />
<admin command="admin_mass_create" accessLevel="100" />
<!-- Section: CTF -->
<admin command="admin_ctf" accessLevel="80" />
<admin command="admin_ctf_name" accessLevel="80" />
<admin command="admin_ctf_desc" accessLevel="80" />
<admin command="admin_ctf_join_loc" accessLevel="80" />
<admin command="admin_ctf_edit" accessLevel="80" />
<admin command="admin_ctf_control" accessLevel="80" />
<admin command="admin_ctf_minlvl" accessLevel="80" />
<admin command="admin_ctf_maxlvl" accessLevel="80" />
<admin command="admin_ctf_tele_npc" accessLevel="80" />
<admin command="admin_ctf_tele_team" accessLevel="80" />
<admin command="admin_ctf_tele_flag" accessLevel="80" />
<admin command="admin_ctf_npc" accessLevel="80" />
<admin command="admin_ctf_npc_pos" accessLevel="80" />
<admin command="admin_ctf_reward" accessLevel="80" />
<admin command="admin_ctf_reward_amount" accessLevel="80" />
<admin command="admin_ctf_team_add" accessLevel="80" />
<admin command="admin_ctf_team_remove" accessLevel="80" />
<admin command="admin_ctf_team_pos" accessLevel="80" />
<admin command="admin_ctf_team_color" accessLevel="80" />
<admin command="admin_ctf_team_flag" accessLevel="80" />
<admin command="admin_ctf_join" accessLevel="80" />
<admin command="admin_ctf_teleport" accessLevel="80" />
<admin command="admin_ctf_start" accessLevel="80" />
<admin command="admin_ctf_abort" accessLevel="80" />
<admin command="admin_ctf_finish" accessLevel="80" />
<admin command="admin_ctf_sit" accessLevel="80" />
<admin command="admin_ctf_dump" accessLevel="80" />
<admin command="admin_ctf_save" accessLevel="80" />
<admin command="admin_ctf_load" accessLevel="80" />
<admin command="admin_ctf_jointime" accessLevel="80" />
<admin command="admin_ctf_eventtime" accessLevel="80" />
<admin command="admin_ctf_autoevent" accessLevel="80" />
<admin command="admin_ctf_minplayers" accessLevel="80" />
<admin command="admin_ctf_maxplayers" accessLevel="80" />
<admin command="admin_ctf_interval" accessLevel="80" />
<!-- Section: CursedWeapons -->
<admin command="admin_cw_info" accessLevel="90" />
<admin command="admin_cw_remove" accessLevel="90" />
@@ -124,29 +87,6 @@
<!-- Section: Disconnect -->
<admin command="admin_character_disconnect" accessLevel="90" />
<!-- Section: DMEngine -->
<admin command="admin_dmevent" accessLevel="80" />
<admin command="admin_dmevent_name" accessLevel="80" />
<admin command="admin_dmevent_desc" accessLevel="80" />
<admin command="admin_dmevent_join_loc" accessLevel="80" />
<admin command="admin_dmevent_minlvl" accessLevel="80" />
<admin command="admin_dmevent_maxlvl" accessLevel="80" />
<admin command="admin_dmevent_npc" accessLevel="80" />
<admin command="admin_dmevent_npc_pos" accessLevel="80" />
<admin command="admin_dmevent_reward" accessLevel="80" />
<admin command="admin_dmevent_reward_amount" accessLevel="80" />
<admin command="admin_dmevent_spawnpos" accessLevel="80" />
<admin command="admin_dmevent_color" accessLevel="80" />
<admin command="admin_dmevent_join" accessLevel="80" />
<admin command="admin_dmevent_teleport" accessLevel="80" />
<admin command="admin_dmevent_start" accessLevel="80" />
<admin command="admin_dmevent_abort" accessLevel="80" />
<admin command="admin_dmevent_finish" accessLevel="80" />
<admin command="admin_dmevent_sit" accessLevel="80" />
<admin command="admin_dmevent_dump" accessLevel="80" />
<admin command="admin_dmevent_save" accessLevel="80" />
<admin command="admin_dmevent_load" accessLevel="80" />
<!-- Section: Donator -->
<admin command="admin_setdonator" accessLevel="100" />
@@ -261,29 +201,6 @@
<admin command="admin_setba" accessLevel="90" />
<admin command="admin_enchant" accessLevel="90" />
<!-- Section: EventEngine -->
<admin command="admin_event" accessLevel="80" />
<admin command="admin_event_new" accessLevel="80" />
<admin command="admin_event_choose" accessLevel="80" />
<admin command="admin_event_store" accessLevel="80" />
<admin command="admin_event_set" accessLevel="80" />
<admin command="admin_event_change_teams_number" accessLevel="80" />
<admin command="admin_event_announce" accessLevel="80" />
<admin command="admin_event_panel" accessLevel="80" />
<admin command="admin_event_control_begin" accessLevel="80" />
<admin command="admin_event_control_teleport" accessLevel="80" />
<admin command="admin_add" accessLevel="80" />
<admin command="admin_event_see" accessLevel="80" />
<admin command="admin_event_del" accessLevel="80" />
<admin command="admin_delete_buffer" accessLevel="80" />
<admin command="admin_event_control_sit" accessLevel="80" />
<admin command="admin_event_name" accessLevel="80" />
<admin command="admin_event_control_kill" accessLevel="80" />
<admin command="admin_event_control_res" accessLevel="80" />
<admin command="admin_event_control_prize" accessLevel="80" />
<admin command="admin_event_control_chatban" accessLevel="80" />
<admin command="admin_event_control_finish" accessLevel="80" />
<!-- Section: ExpSp -->
<admin command="admin_add_exp_sp_to_character" accessLevel="90" />
<admin command="admin_add_exp_sp" accessLevel="90" />
@@ -543,59 +460,6 @@
<admin command="admin_st" accessLevel="80" />
<admin command="admin_mp" accessLevel="80" />
<!-- Section: TownWar -->
<admin command="admin_townwar_start" accessLevel="80" />
<admin command="admin_townwar_end" accessLevel="80" />
<!-- Section: TvTEngine -->
<admin command="admin_tvt" accessLevel="80" />
<admin command="admin_tvt_name" accessLevel="80" />
<admin command="admin_tvt_desc" accessLevel="80" />
<admin command="admin_tvt_join_loc" accessLevel="80" />
<admin command="admin_tvt_minlvl" accessLevel="80" />
<admin command="admin_tvt_maxlvl" accessLevel="80" />
<admin command="admin_tvt_npc" accessLevel="80" />
<admin command="admin_tvt_npc_pos" accessLevel="80" />
<admin command="admin_tvt_reward" accessLevel="80" />
<admin command="admin_tvt_reward_amount" accessLevel="80" />
<admin command="admin_tvt_team_add" accessLevel="80" />
<admin command="admin_tvt_team_remove" accessLevel="80" />
<admin command="admin_tvt_team_pos" accessLevel="80" />
<admin command="admin_tvt_team_color" accessLevel="80" />
<admin command="admin_tvt_join" accessLevel="80" />
<admin command="admin_tvt_teleport" accessLevel="80" />
<admin command="admin_tvt_start" accessLevel="80" />
<admin command="admin_tvt_abort" accessLevel="80" />
<admin command="admin_tvt_finish" accessLevel="80" />
<admin command="admin_tvt_sit" accessLevel="80" />
<admin command="admin_tvt_dump" accessLevel="80" />
<admin command="admin_tvt_save" accessLevel="80" />
<admin command="admin_tvt_load" accessLevel="80" />
<admin command="admin_tvt_jointime" accessLevel="80" />
<admin command="admin_tvt_eventtime" accessLevel="80" />
<admin command="admin_tvt_autoevent" accessLevel="80" />
<admin command="admin_tvt_minplayers" accessLevel="80" />
<admin command="admin_tvt_maxplayers" accessLevel="80" />
<admin command="admin_tvtkick" accessLevel="80" />
<!-- Section: VIPEngine -->
<admin command="admin_vip" accessLevel="80" />
<admin command="admin_vip_setteam" accessLevel="80" />
<admin command="admin_vip_randomteam" accessLevel="80" />
<admin command="admin_vip_settime" accessLevel="80" />
<admin command="admin_vip_endnpc" accessLevel="80" />
<admin command="admin_vip_setdelay" accessLevel="80" />
<admin command="admin_vip_joininit" accessLevel="80" />
<admin command="admin_vip_joinnpc" accessLevel="80" />
<admin command="admin_vip_joinlocxyz" accessLevel="80" />
<admin command="admin_vip_setarea" accessLevel="80" />
<admin command="admin_vip_vipreward" accessLevel="80" />
<admin command="admin_vip_viprewardamount" accessLevel="80" />
<admin command="admin_vip_thevipreward" accessLevel="80" />
<admin command="admin_vip_theviprewardamount" accessLevel="80" />
<admin command="admin_vip_notvipreward" accessLevel="80" />
<admin command="admin_vip_notviprewardamount" accessLevel="80" />
<!-- Section: Walker -->
<admin command="admin_walker_setmessage" accessLevel="80" />
<admin command="admin_walker_menu" accessLevel="80" />

View File

@@ -223,47 +223,6 @@ DonatorDropRate = 1.5
DonatorSpoilRate = 1.5
# ---------------------------------------------------------------------------
# Commands
# ---------------------------------------------------------------------------
# Allow players to use command .farm1
AllowFarm1Command = False
# Put your Farm1 Location ( x,y,z )
farm1_X = 81304
farm1_Y = 14589
farm1_Z = -3469
# Message after successful TP
Farm1CustomMeesage = You have been teleported to Farm Zone 1!
# Allow players to use command .farm2
AllowFarm2Command = False
# Put your Farm2 Location ( x,y,z )
farm2_X = 81304
farm2_Y = 14589
farm2_Z = -3469
# Message after successful TP
Farm2CustomMeesage = You have been teleported to Farm Zone 2!
# Allow players to use command .pvp1
AllowPvP1Command = False
# Put your Farm1 Location ( x,y,z )
pvp1_X = 81304
pvp1_Y = 14589
pvp1_Z = -3469
# Message after successful TP
PvP1CustomMeesage = You have been teleported to PvP Zone 1!
# Allow players to use command .pvp2
AllowPvP2Command = False
# Put your Farm2 Location ( x,y,z )
pvp2_X = 81304
pvp2_Y = 14589
pvp2_Z = -3469
# Message after successful TP
PvP2CustomMeesage = You have been teleported to PvP Zone 2!
# ---------------------------------------------------------------------------
# Protector
# ---------------------------------------------------------------------------

View File

@@ -1,54 +0,0 @@
#============================================================#
# CTF Event Engine #
#============================================================#
# CTF(Capture the flag) Event: Two teams with one flag.
# Setting for Capture The Flag
# CTFEvenTeams = NO|BALANCE|SHUFFLE
# NO means: not even teams.
# BALANCE means: Players can only join team with lowest player count.
# SHUFFLE means: Players can only participate to tzhe event and not
# direct to a team. Teams will be schuffeled in teleporting teams.
CTFEvenTeams = SHUFFLE
# Players there not participated in ctf can target ctf participants?
CTFAllowInterference = False
# Ctf participants can use potions?
CTFAllowPotions = False
# Ctf participants can summon by item?
CTFAllowSummon = False
# Remove all effects of ctf participants on event start?
CTFOnStartRemoveAllEffects = True
# Unsummon pet of ctf participants on event start?
CTFOnStartUnsummonPet = True
# On revive participants regain full hp/mp/cp ?
CTFReviveRecovery = False
# Announce all team statistics
CTFAnnounceTeamStats = False
# Announce Reward
CTFAnnounceReward = False
# Players with cursed weapon are allowed to join ?
CTFJoinWithCursedWeapon = True
# Enable voice command to register on tvt/ctf events
CTFCommand = True
# Place an aura on participants team ?
CTFAura = False
# Enable event stats logger
CTFStatsLogger = True
# Spawn Team Offset to distribute players
CTFSpawnOffset = 300
# Remove Buffs on player die
CTFRemoveBuffsOnPlayerDie = False

View File

@@ -1,55 +0,0 @@
#============================================================#
# DM Event Engine #
#============================================================#
# DM(DeathMatch) Event: All vs All.
# Players there not participated in DM can target DM participants?
DMAllowInterference = False
# DM participants can use potions?
DMAllowPotions = False
# DM participants can summon by item?
DMAllowSummon = False
# Players with cursed weapon are allowed to join ?
DMJoinWithCursedWeapon = False
# Remove all effects of DM participants on event start?
DMOnStartRemoveAllEffects = True
# Unsummon pet of DM participants on event start?
DMOnStartUnsummonPet = True
# Delay on revive when dead, NOTE: 20000 equals to 20 seconds, minimum 1000 (1 second)
DMReviveDelay = 20000
# On revive participants regain full hp/mp/cp ?
DMReviveRecovery = False
# Enable voice command to register on dm events (.dmjoin / .dmleave / .dminfo)
DMCommand = True
# Announce Reward
DMAnnounceReward = False
# Enable Kill Reward?
DMEnableKillReward = False
# Kill Reward ID
DMKillRewardID = 6392
# Kill Reward Amount
DMKillRewardAmount = 1
# Offset from center DM Spawn
DMSpawnOffset = 100
# Enable event stats logger
DMStatsLogger = True
# Enable healer classes into DM
DMAllowedHealerClasses = True
# Remove Buffs on player die
DMRemoveBuffsOnPlayerDie = False

View File

@@ -1,19 +0,0 @@
#============================================================#
# Event Manager #
#============================================================#
# Enable auto events and start time.
# TvT auto start
# Example TVTStartTime = 20:00;21:00;22:00;
TVTEventEnabled = False
TVTStartTime = 20:00;
# CTF auto start
# Example CTFStartTime = 20:00;21:00;22:00;
CTFEventEnabled = False
CTFStartTime = 20:30;
# DM auto start
# Example DMStartTime = 20:00;21:00;22:00;
DMEventEnabled = False
DMStartTime = 21:00;

View File

@@ -1,48 +0,0 @@
#============================================================#
# Town War #
#============================================================#
# TW (Town War): Town can became PvP Zone.
# ATTENTION:
# GM char can't be hit during Town war.
# //townwar_start - Starts town war in Giran
# //townwar_end - Ends townwar in Giran
# Town id
# 2: // Talking Island
# 3: // Elven village
# 1: // Dark elf village
# 4: // Orc village
# 6: // Dwarven village
# 7: // Gludio
# 5: // Gludin
# 8: // Dion
# 9: // Giran
# 10: // Oren
# 12: // Aden
# 11: // Hunters village
# 9: // Giran Harbour
# 15: // Heine
# 14: // Rune
# 13: // Goddard
# 17: // Schuttgart
# 16: // Floran
# 20: //Kamael Village
TWTownId = 9
# Set all towns?
TWAllTowns = False
# Reward for each kill
TownWarItemId = 57
TownWarItemAmount = 5000
# Give PKers karma during townwar?
AllowKarma = False
# Disable GK while in event?
DisableGK = True
# If yes it will send a ressurect ask on death.
# If no when you die youll be there dead until the event ends.
# Set to false if you want KOTH town.
SendRessOnDeath = True

View File

@@ -1,74 +0,0 @@
#====================================#
# Team vs Team #
#====================================#
# TvT(Team vs Team) Event: Blue vs Red.
# Setting for Team vs. Team pvp
# TvTEvenTeams = NO|BALANCE|SHUFFLE
# NO means: not even teams.
# BALANCE means: Players can only join team with lowest player count.
# SHUFFLE means: Players can only participate to tzhe event and not direct to a team. Teams will be schuffeled in teleporting teams.
TvTEvenTeams = SHUFFLE
# players there not participated in tvt can target tvt participants?
TvTAllowInterference = False
# tvt participants can use potions?
TvTAllowPotions = True
# tvt participants can summon by item?
TvTAllowSummon = True
# remove all effects of tvt participants on event start?
TvTOnStartRemoveAllEffects = True
# unsummon pet of tvt participants on event start?
TvTOnStartUnsummonPet = True
# on revive participants regain full hp/mp/cp ?
TvTReviveRecovery = True
# announce all team statistics
TvTAnnounceTeamStats = True
# announce reward
TvTAnnounceReward = True
# give price with 0 kills
TvTPriceNoKills = True
# players with cursed weapon are allowed to join ?
TvTJoinWithCursedWeapon = False
# Enable voice command to register on tvt event
TvTCommand = True
# Delay on revive when dead, NOTE: 20000 equals to 20 seconds, minimum 1000 (1 second)
TvTReviveDelay = 10000
# Open Western Fortress doors on tvt finish
TvTOpenFortDoors = False
# Close Western Fortress doors on tvt start
TvTCloseFortDoors = False
# Open Aden Colosseum doors on tvt finish
TvTOpenAdenColosseumDoors = True
# Close Aden Colosseum doors on tvt start
TvTCloseAdenColosseumDoors = True
# TvT Top Killer reward id
TvTTopKillerRewardId = 5575
# TvT Top Killer reward quantity
TvTTopKillerRewardQty = 5000000
# Place an aura on participants team ?
TvTAura = False
# Enable event stats logger
TvTStatsLogger = True
# Remove Buffs on player die
TvTRemoveBuffsOnPlayerDie = False

View File

@@ -374,18 +374,6 @@ TimeOfWarmUp = 2
NumberOfNecessaryPartyMembers = 4
# ---------------------------------------------------------------------------
# Quake / Killing Spree System
# ---------------------------------------------------------------------------
# Enable The Killing Spree System
# When a Player Hits an Amount of pvp's an announcement appears
AllowQuakeSystem = False
# Enable Messages to GMs on 4-5 consecutive pvp of a player
# Why? to see if a char are farming!
EnableAntiPvpFarmMsg = True
# ---------------------------------------------------------------------------
# Aio System
# ---------------------------------------------------------------------------

View File

@@ -126,16 +126,6 @@ TitleForAmount4 = 00FF00
PkAmount5 = 5000
TitleForAmount5 = 00FF00
# -----------------------------
# PK Info Settings
# -----------------------------
# If it is enabled then it shows pk info to the players everytime
# A pk or pvp is done. Messages are:
# "You have killed PlayerX y times".
# OR
# "You have been killed y times by PlayerX.
EnablePkInfo = False
# ----------------------------
# Custom Reward
# ----------------------------