<1.0.0> Add experimental Velocity plugin files

Credit to ayunami2000 for making it work, not recommended for public servers yet.

Download in "gateway/EaglercraftXVelocity/EaglerXVelocity-Latest.jar"

Please check for updates regularly if you decide to use it.
This commit is contained in:
lax1dude
2024-05-25 18:58:41 -07:00
parent 9bb6f6d4ec
commit 40a60f992e
89 changed files with 14610 additions and 1 deletions

View File

@ -0,0 +1,17 @@
enable_authentication_system: true
use_onboard_eaglerx_system: true
auth_db_uri: 'jdbc:sqlite:eaglercraft_auths.db'
sql_driver_class: 'internal'
sql_driver_path: 'internal'
password_prompt_screen_text: 'Enter your password to join:'
wrong_password_screen_text: 'Password Incorrect!'
not_registered_screen_text: 'You are not registered on this server!'
eagler_command_name: 'eagler'
use_register_command_text: '&aUse /eagler to set an Eaglercraft password on this account'
use_change_command_text: '&bUse /eagler to change your Eaglercraft password'
command_success_text: '&bYour eagler password was changed successfully.'
last_eagler_login_message: 'Your last Eaglercraft login was on $date from $ip'
too_many_registrations_message: '&cThe maximum number of registrations has been reached for your IP address'
need_vanilla_to_register_message: '&cYou need to log in with a vanilla account to use this command'
override_eagler_to_vanilla_skins: false
max_registration_per_ip: -1

View File

@ -0,0 +1,180 @@
{
"text/html": {
"files": [ "html", "htm", "shtml" ],
"expires": 3600,
"charset": "utf-8"
},
"application/javascript": {
"files": [ "js" ],
"expires": 3600,
"charset": "utf-8"
},
"application/octet-stream": {
"files": [ "epk" ],
"expires": 14400
},
"text/css": {
"files": [ "css" ],
"expires": 14400,
"charset": "utf-8"
},
"text/xml": {
"files": [ "xml" ],
"expires": 3600,
"charset": "utf-8"
},
"text/plain": {
"files": [ "txt" ],
"expires": 3600,
"charset": "utf-8"
},
"image/png": {
"files": [ "png" ],
"expires": 14400
},
"image/jpeg": {
"files": [ "jpeg", "jpg", "jfif" ],
"expires": 14400
},
"image/gif": {
"files": [ "gif" ],
"expires": 14400
},
"image/webp": {
"files": [ "webp" ],
"expires": 14400
},
"image/svg+xml": {
"files": [ "svg", "svgz" ],
"expires": 14400,
"charset": "utf-8"
},
"image/tiff": {
"files": [ "tiff", "tif" ],
"expires": 14400
},
"image/avif": {
"files": [ "avif" ],
"expires": 14400
},
"image/x-ms-bmp": {
"files": [ "bmp" ],
"expires": 14400
},
"image/x-icon": {
"files": [ "ico" ],
"expires": 14400
},
"image/woff": {
"files": [ "woff" ],
"expires": 43200
},
"image/woff2": {
"files": [ "woff2" ],
"expires": 43200
},
"application/json": {
"files": [ "json" ],
"expires": 3600,
"charset": "utf-8"
},
"application/pdf": {
"files": [ "pdf" ],
"expires": 14400
},
"application/rtf": {
"files": [ "rtf" ],
"expires": 14400
},
"application/java-archive": {
"files": [ "jar", "war", "ear" ],
"expires": 14400
},
"application/wasm": {
"files": [ "wasm" ],
"expires": 3600
},
"application/xhtml+xml": {
"files": [ "xhtml" ],
"expires": 3600,
"charset": "utf-8"
},
"application/zip": {
"files": [ "zip" ],
"expires": 14400
},
"audio/midi": {
"files": [ "mid", "midi", "kar" ],
"expires": 43200
},
"audio/mpeg": {
"files": [ "mp3" ],
"expires": 43200
},
"audio/ogg": {
"files": [ "ogg" ],
"expires": 43200
},
"audio/x-m4a": {
"files": [ "m4a" ],
"expires": 43200
},
"application/atom+xml": {
"files": [ "atom" ],
"expires": 3600,
"charset": "utf-8"
},
"application/rss+xml": {
"files": [ "rss" ],
"expires": 3600,
"charset": "utf-8"
},
"application/x-shockwave-flash": {
"files": [ "swf" ],
"expires": 43200
},
"video/3gpp": {
"files": [ "3gpp", "3gp" ],
"expires": 43200
},
"video/mp4": {
"files": [ "mp4" ],
"expires": 43200
},
"video/mpeg": {
"files": [ "mpeg", "mpg" ],
"expires": 43200
},
"video/quicktime": {
"files": [ "mov" ],
"expires": 43200
},
"video/webm": {
"files": [ "webm" ],
"expires": 43200
},
"video/x-motion-jpeg": {
"files": [ "mjpg" ],
"expires": 14400
},
"video/x-flv": {
"files": [ "flv" ],
"expires": 43200
},
"video/x-m4v": {
"files": [ "m4v" ],
"expires": 43200
},
"video/x-mng": {
"files": [ "3mng" ],
"expires": 43200
},
"video/x-ms-wmv": {
"files": [ "wmv" ],
"expires": 43200
},
"video/x-msvideo": {
"files": [ "avi" ],
"expires": 43200
}
}

View File

@ -0,0 +1,20 @@
voice_stun_servers:
- 'stun:stun.l.google.com:19302'
- 'stun:stun1.l.google.com:19302'
- 'stun:stun2.l.google.com:19302'
- 'stun:stun3.l.google.com:19302'
- 'stun:stun4.l.google.com:19302'
- 'stun:openrelay.metered.ca:80'
voice_turn_servers:
openrelay1:
url: 'turn:openrelay.metered.ca:80'
username: 'openrelayproject'
password: 'openrelayproject'
openrelay2:
url: 'turn:openrelay.metered.ca:443'
username: 'openrelayproject'
password: 'openrelayproject'
openrelay3:
url: 'turn:openrelay.metered.ca:443?transport=tcp'
username: 'openrelayproject'
password: 'openrelayproject'

View File

@ -0,0 +1,63 @@
listener_01:
address: 0.0.0.0:8081
address_v6: 'null'
max_players: 60
forward_ip: false
forward_ip_header: X-Real-IP
redirect_legacy_clients_to: 'null'
server_icon: server-icon.png
server_motd:
- '&6An EaglercraftX server'
allow_motd: true
allow_query: true
request_motd_cache:
cache_ttl: 7200
online_server_list_animation: false
online_server_list_results: true
online_server_list_trending: true
online_server_list_portfolios: false
http_server:
enabled: false
root: 'web'
page_404_not_found: 'default'
page_index_name:
- 'index.html'
- 'index.htm'
allow_voice: false
ratelimit:
ip:
enable: true
period: 90
limit: 60
limit_lockout: 80
lockout_duration: 1200
exceptions:
- '127.*'
- '0:0:0:0:0:0:0:1'
login:
enable: true
period: 50
limit: 5
limit_lockout: 10
lockout_duration: 300
exceptions:
- '127.*'
- '0:0:0:0:0:0:0:1'
motd:
enable: true
period: 30
limit: 5
limit_lockout: 15
lockout_duration: 300
exceptions:
- '127.*'
- '0:0:0:0:0:0:0:1'
query:
enable: true
period: 30
limit: 15
limit_lockout: 25
lockout_duration: 900
exceptions:
- '127.*'
- '0:0:0:0:0:0:0:1'

View File

@ -0,0 +1,25 @@
server_name: 'EaglercraftXVelocity Server'
server_uuid: ${random_uuid}
websocket_connection_timeout: 15000
websocket_handshake_timeout: 5000
http_websocket_compression_level: 6
download_vanilla_skins_to_clients: true
valid_skin_download_urls:
- 'textures.minecraft.net'
uuid_lookup_ratelimit_player: 50
uuid_lookup_ratelimit_global: 175
skin_download_ratelimit_player: 1000
skin_download_ratelimit_global: 30000
skin_cache_db_uri: 'jdbc:sqlite:eaglercraft_skins_cache.db'
skin_cache_keep_objects_days: 45
skin_cache_keep_profiles_days: 7
skin_cache_max_objects: 32768
skin_cache_max_profiles: 32768
skin_cache_antagonists_ratelimit: 15
sql_driver_class: 'internal'
sql_driver_path: 'internal'
eagler_players_vanilla_skin: ''
enable_is_eagler_player_property: true
disable_voice_chat_on_servers: []
disable_fnaw_skins_everywhere: false
disable_fnaw_skins_on_servers: []

View File

@ -0,0 +1,9 @@
block_all_client_updates: false
discard_login_packet_certs: false
cert_packet_data_rate_limit: 524288
enable_eagcert_folder: true
download_latest_certs: true
download_certs_from:
- 'https://eaglercraft.com/backup.cert'
- 'https://deev.is/eagler/backup.cert'
check_for_update_every: 900

View File

@ -0,0 +1 @@
{"id":"eaglerxvelocity","name":"EaglercraftXVelocity","version":"1.0.0","description":"Plugin to allow EaglercraftX 1.8 players to join your network, or allow EaglercraftX 1.8 players to use your network as a proxy to join other networks","authors":["lax1dude", "ayunami2000"],"dependencies":[],"main":"net.lax1dude.eaglercraft.v1_8.plugin.gateway_velocity.EaglerXVelocity"}