mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 06:01:38 -09:00
commit
adc9106a96
14
LICENSE
14
LICENSE
@ -9,7 +9,19 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
1. Non-Commercial Use Only
|
||||
The Software and any Derivative Works may not be sold, licensed, or otherwise used for commercial purposes. This includes, but is not limited to, charging money for access, selling within an app or game, and monetizing through advertising or tracking.
|
||||
|
||||
2. No Advertising or Tracking
|
||||
The Software and any Derivative Works must not contain any form of advertising, user tracking, or data collection for monetization purposes.
|
||||
|
||||
3. No Misleading Representation
|
||||
You may not misrepresent the origin of the Software or Derivative Works. You must not imply that your use or distribution is endorsed by the original author(s) unless you have explicit written permission.
|
||||
|
||||
4. Attribution Required
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software and any Derivative Works.
|
||||
|
||||
5. The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
|
@ -14,7 +14,7 @@ var modapi_preinit = `globalThis.ModAPI ||= {};
|
||||
`;
|
||||
var freezeCallstack = `if(ModAPI.hooks.freezeCallstack){return false};`;
|
||||
const EFIConfig = {
|
||||
ModAPIVersion: "v2.7.7", //also change in package.json
|
||||
ModAPIVersion: "v2.7.8", //also change in package.json
|
||||
doEaglerforge: true,
|
||||
verbose: false,
|
||||
doServerExtras: false,
|
||||
@ -383,7 +383,6 @@ var main;(function(){`
|
||||
patchedFile = patchedFile.replace(
|
||||
` id="game_frame">`,
|
||||
` id="game_frame">
|
||||
\<script id="1_12_corelib_flag"\>ModAPI.is_1_12 = ${patchedFile.includes("nleit_MainClass_main")}\<\/script\>
|
||||
\<script id="modapi_patchesreg_events"\>${assets.PatchesRegistry.getEventInjectorCode()};\<\/script\>
|
||||
\<script id="modapi_postinit"\>${assets.modapi_postinit.replace("__modapi_version_code__", EFIConfig.ModAPIVersion)}\<\/script\>
|
||||
\<script id="modapi_modloader"\>${assets.modapi_modloader}\<\/script\>
|
||||
|
@ -16,6 +16,7 @@ const modapi_postinit = "(" + (() => {
|
||||
}
|
||||
|
||||
ModAPI.hooks._classMap = {};
|
||||
ModAPI.is_1_12 = !!ModAPI.hooks.methods.nleit_MainClass_main;
|
||||
globalThis.PluginAPI ||= ModAPI;
|
||||
ModAPI.mcinstance ||= {};
|
||||
ModAPI.javaClient ||= {};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "eaglerforgeinjector",
|
||||
"version": "2.7.7",
|
||||
"version": "2.7.8",
|
||||
"description": "Advanced modding API injector for unminified, unobfuscated, unsigned eaglercraft builds.",
|
||||
"main": "node.js",
|
||||
"directories": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user