Initial changes.

This commit is contained in:
MobiusDevelopment
2019-07-26 10:40:03 +00:00
parent 24a2cc615e
commit e70ad4bdb2
68 changed files with 1869 additions and 1955 deletions

View File

@@ -80,4 +80,7 @@ RemotePrivStoreFactor = 12
# To exacute the server under debugger with eclipse use:
# DatapackRoot = ../L2jMobius_DataPack
# or point the folder directly to your server.
DatapackRoot = .
DatapackRoot = .
# Scripts root directory.
ScriptRoot = ./data/scripts

View File

@@ -1,11 +0,0 @@
# Enable / disable display information about the load on each object
EnableScriptDebug = False
# Enable / disable the mandatory compilation of all the objects
AllowCompilation = True
# Enable / disable hash loaded objects
UseCache = False
# Enable / disable error output
EnableScriptErrorLog = True

View File

@@ -0,0 +1,17 @@
# ---------------------------------------------------------------------------
# Script Engine Settings
# ---------------------------------------------------------------------------
# The parent class loader for isolated script class loaders.
# When this property is not specified, has an invalid value or is a class name which could not be found, the System classloader is used.
# Values: System, ThreadContext or a fully qualified java class name.
classloader=System
# Source compatibility.
source=1.8
# The java sourcepath, when you have a different datapack root, you must change this too.
sourcepath=data/scripts
# The debug informations to generate for compiled class files.
g=source,lines,vars

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../data/xsd/Scripts.xsd">
<!-- Skip these filenames from script loading, because they are already loaded using a different way. -->
<exclude file="package-info.java" />
<!--
With this file you can exclude/include specific folders/files from within the scripts directory.
In order to exclude a folder/file simply add the following line:
<exclude file="{FOLDER/FILE NAME HERE}" />
For example to exclude the quests directory, use:
<exclude file="quests" />
If you want to exclude all files within a directory except certain file(s), you can do it like so:
<exclude file="{FOLDER NAME HERE}">
<include file="{FOLDER/FILE NAME HERE}" />
<include file="{FOLDER/FILE NAME HERE}" />
...
</exclude>
For example to exclude ForgeOfTheGods folder except Valakas script, use:
<exclude file="ForgeOfTheGods">
<include file="Valakas.java" />
</exclude>
-->
</list>