Autor Tema: [INFO][EVENTS] Configuration Guide  (Leído 2092 veces)

Desconectado U3Games

  • Administrator
  • User
  • *
  • Mensajes: 164
    • Ver Perfil
[INFO][EVENTS] Configuration Guide
« en: 04 de Diciembre de 2020, 11:54:08 pm »
INSTALLATION GUIDE

The evetnsengine instantiation consists of two parts, the first is to make the events engine be loaded on the server and finally, to incorporate the events.

Download:

Only available for L2JDevs Premium Users, it is built into our private emulator.

Engine Instalation:
  • Inside the .rar, go to L2JEventsEngine/libs, copy L2JEventsEngine.jar and paste it inside libs folder in your server project.
  • Re-compile your server files. This is really necessary because now you have the event jar inside libs folder it'll generate the classpath (if you don't know what I'm talking about, don't worry, just know it's mandatory).
  • Get the new l2jserver.jar, copy and paste it inside your server folder in game/. You have to replace the old one.
  • Copy L2JEventsEngine.jar again and paste it inside libs in your server.
  • Inside the engine .rar, search for the folder 'game', copy and paste it in your server folder. This will add the script to initialize the engine in the following route: game/data/scripts/custom/L2JEventsEngine.
  • Last step! Open your scripts.cfg and paste the line custom/L2JEventsEngine/L2JEventsEngineStarter.java.

Event Instalation:
  • Download event in the following You are not allowed to view links. Register or Login(link is only available for subscribers).
  • Paste the event jars inside game/eventsengine/events folder.
  • When you start the server, if everything went well, you'll see the configuration files generated inside events folder.



GENERAL CONFIGURATION

Código: You are not allowed to view links. Register or Login
# ---------------------------------------------------------------------------
# L2JDevs Event Engine (By L2JDevs Team)
# ---------------------------------------------------------------------------
# More information -> http://www.l2jdevs.org
# Telegram group -> https://t.me/l2jdevs
# Sign up and join our community!
# -------------------------------------------------------
# Enabled event engine and events.
# Default = True
EventEngineEnabled = True

# Show system messages, not recommended in live mode.
# Default = False
EventLogEnabled = False

# Show message of engine to all players when they log in.
# Default = True
LoginMessageEnabled = True


# -------------------------------------------------------
# Npc Setting
# -------------------------------------------------------
# Event Manager NPC ID.
# Default = 36600
NpcManagerId = 36600

# Npc event message type:
# Options 1: ALL, for all players.
# Options 2: NEAR, for range players.
# Default = ALL
NpcManagerMessageType = ALL

# Range of reach from the npc.
# Default = 1200
NpcManagerMsgRange = 1200

# Can use services in combat mode:
# Default: False
NpcServicesInCombatState = False

# Can use services in flag mode:
# Default: False
NpcServicesInFlagState = False

# Can use services in karma mode:
# Default: False
NpcServicesInKarmaState = False

# Can use services with a curse weapon:
# Default: False
NpcServicesInKaoticState = False


# -------------------------------------------------------
# Buff Setting
# -------------------------------------------------------
# Max buff number per player.
# CAUTION: It must be less than Config.BUFFS_MAX_AMOUNT!
# Default: 6
MaxPlayerBuff = 6

# Max buff number per page:
# Default: 10
MaxBuffInList = 10


# -------------------------------------------------------
# Votes & Register Setting
# -------------------------------------------------------
# Time available to vote for the desired event in minutes.
# Default: 5
VoteTimeDuration = 5

# Time available to register in minutes.
# Default: 5
RegisterTimeDuration = 5

# In case of cancellation, waiting time to restart voting system in minutes.
# Default: 3
RestartEventTimeDuration = 3


# -------------------------------------------------------
# Requirements Setting
# -------------------------------------------------------
# Minimum level of players that may join the event.
# Default: 40
MinPlayerLevel = 40

# Maximum level of players that may join the event.
# Default: 85
MaxPlayerLevel = 85


# -------------------------------------------------------
# Mini Events Setting
# -------------------------------------------------------
# Minimum amount of players allowed in each mini event.
# Default: 2
MinPlayerMiniEvent = 2

# Maximum amount of players allowed in each mini event.
# Default: 10
MaxPlayerMiniEvent = 10

# List of objects allowed as currency in mini events:
# Default: ["57","5575","6392","6393","14720","14721"]
RewardsItemListMiniEvent = ["57","5575","6392","6393","14720","14721"]


# -------------------------------------------------------
# Features Setting
# -------------------------------------------------------
# Enabled or disabled sound in event.
# Default: True
SoundSystemEnabled = True

# Enabled or disabled text screen in event.
# Default: False
ExScreenMessageEnabled = False

# Enabled or disabled stats screen in event.
# Default: True
ExScreenStatsEnabled = True

# Enabled or disabled special screen in event.
# Default: True
ExScreenStateEnabled = True


# -------------------------------------------------------
# Restrictions Setting
# -------------------------------------------------------
# Restrict specified items in event:
# Equipped items will be moved to inventory during event. ItemID's need to be separated with a comma (ex. ["1","200","350"])
# Default: ["6611","6612","6613","6614","6615","6616","6617","6618","6619","6620","6621","9388","9389","9390","17049","17050","17051","17052","17053","17054","17055","17056","17057","17058","17059","17060","17061","20759","20775","20776","20777","20778","14774"]
RestrictedItemList = ["6611","6612","6613","6614","6615","6616","6617","6618","6619","6620","6621","9388","9389","9390","17049","17050","17051","17052","17053","17054","17055","17056","17057","17058","17059","17060","17061","20759","20775","20776","20777","20778","14774"]

# Restrict specified skill in event:
# Player skill not allowed during event. SkillID's need to be separated with a comma (ex. ["1","200","350"])
# Default: ["840","841","842","5982","5983"]
RestrictedSkillList = ["840","841","842","5982","5983"]


# -------------------------------------------------------
# Protection Setting
# -------------------------------------------------------
# Spawn protection in seconds.
# Default = 10
PlayerTimeProtection = 10

# Enabled Dual-Box protection for event.
# Default = True
DualBoxProtectionEnabled = True

# Number of maximum connections allowed from the same IP.
# Default = 1
DualBoxProtectionMaxAllowed = 1

# Enabled Anti-AFK protection, expels inactive players during the event.
# Default = True
AFKSystemEnabled = True

# Determine runtime in seconds.
# Default = 30
AFKTimeEnabled = 30

If you have any trouble, please, contact us for help.