Logo
MINECRAFTBIBLE
Items
Items

All game items

Blocks
Blocks

Building blocks

Mobs
Mobs

Creatures & monsters

Biomes
Biomes

World biomes

Structures
Structures

Generated structures

Recipes
Recipes

Crafting guides

Advancements
Advancements

Achievements

Loot Tables
Loot Tables

Drop rates

Tags
Tags

Item groupings

All Versions
View all data →
Capes
Cape ArchiveNEW

Browse rare Minecon capes, OptiFine capes, and custom capes from players worldwide

Browse

Player Database
Player DatabasePopular

Search any player

Skin Browser
Skin Browser

Browse & download skins

Cape Gallery
Cape GalleryNEW

Minecon & OptiFine capes

Seed Vault
Seed Vault

Curated seeds

Learn

Guides
GuidesNew

Tutorials & tips

Blog
Blog

News & updates

Community

Community Hub
Community HubHub

Posts, discussions & more

All Versions
View community →
Seed Analyzer
Seed Analyzer

World seed analysis

Loot Explorer
Loot Explorer

Drop rates

Crafting Calculator
Crafting Calculator

Material planning

Enchant Calculator
Enchant Calculator

Probability math

Redstone Lab
Redstone Lab

Signal timing

Trading Profit
Trading Profit

Villager ROI

All Versions
View all tools →
Mods
Mods

Browse all mods

Plugins
Plugins

Server plugins

Resource Packs
Resource Packs

Textures & sounds

Shaders
Shaders

Visual enhancements

Datapacks
Datapacks

World logic

Scanner
Mod Intelligence

Scan & analyze any mod

All Versions
View all mods →
Loading...
IntroductionIntroductionVersion HistoryVersion HistoryGuidesGuidesBlog & NewsBlog & News
ItemsItemsBlocksBlocksMobsMobsRecipesRecipesBiomesBiomesStructuresStructuresAdvancementsAdvancementsLoot TablesLoot TablesTagsTags
ModsModsPluginsPluginsResource PacksResource PacksShadersShadersDatapacksDatapacks

MinecraftBible

The Ultimate Wiki

Logo
MINECRAFTBIBLE

The ultimate Minecraft reference. Every item, block, mob, and recipe documented with precision.

Community

  • Player Database
  • Skin Browser
  • Cape Gallery
  • Community Hub
  • Seed Vault

Database

  • Items
  • Blocks
  • Mobs
  • Recipes
  • Biomes
  • Structures

Tools

  • Seed Analyzer
  • Mod Intelligence
  • Crafting Calculator
  • Enchant Calculator

Mods & Packs

  • Mods
  • Plugins
  • Resource Packs
  • Shaders
  • Datapacks

© 2026 MinecraftBible. Not affiliated with Mojang or Microsoft.

PrivacyTermsContact
EternalScript
PluginMIT

EternalScript

A scripting plugin for Minecraft Paper servers that dynamically loads and unloads Kotlin scripts at runtime.

93
Downloads
0
Followers
7 months ago
Updated
📦
8
Versions
managementtechnologyutilitypaper
Download Latestv1.0.7View on Modrinth

📖About EternalScript

EternalScript: A Kotlin Scripting Plugin for Minecraft Paper Servers

EternalScript allows you to dynamically load and manage code at runtime on your Minecraft Paper server without requiring restarts. It supports diverse customization features like script lifecycle management, event handling, and custom commands.

Commands

Here are the available commands for EternalScript:

  • /es compile: Compiles and loads all scripts within the configured script folder.
  • /es clear: Unloads all currently loaded scripts.
  • /es config: Reloads the plugin configuration.
  • /es call [script] [function]: Calls a function within a specified script.
  • /es load [script]: Loads a specific script file (e.g., /es load "/hello.kt").
  • /es unload [script]: Unloads a specific script file (e.g., /es unload "/hello.kt").
  • /es list: Lists all currently loaded scripts.

Script Lifecycle

Control how your scripts behave, including performing initial setup when loaded and cleaning up resources when unloaded.

enable {
    // This code runs when the script is loaded/enabled.
    Bukkit.broadcastMessage("Eternal Script: Script loaded!")
}

disable {
    // This code runs when the script is unloaded/disabled.
    Bukkit.broadcastMessage("Eternal Script: Script unloaded!")
}

Event Handling

Easily register and handle events directly within your scripts to add custom logic.

import org.bukkit.Bukkit
import org.bukkit.event.player.PlayerJoinEvent
import org.bukkit.event.player.PlayerQuitEvent

event<PlayerJoinEvent> { event ->
    Bukkit.broadcastMessage("${event.player.name} joined the server!")
}

event<PlayerQuitEvent> { event ->
    Bukkit.broadcastMessage("${event.player.name} left the server.")
}

Custom Commands

Define and register your own in-game commands directly from your scripts.

import org.bukkit.Bukkit

command("test-command") {
    // Players need this permission to execute the command.
    permission = "eternals.command.test"
    executor = { sender, label, args ->
        // This code runs when the command is executed.
        Bukkit.broadcastMessage("Command executed by: ${sender.name}")
    }
}

Script Inclusion/Exclusion Rules

Control which scripts the plugin processes.

  • *.kt | *.kts: Includes all Kotlin files (.kt) and Kotlin script files (.kts).
  • -*/ *.kt | -*.kt: Ignores specific folders or files (e.g., excludes scripts in subfolders or specific files).
  • !*/* .kt | !*.kt: Loads specific folders or files synchronously (e.g., processes them before other scripts at server startup).

Installation

It's quick and easy to get EternalScript up and running on your server:

  1. Download the latest version of EternalScript from Modrinth.
  2. Upload the downloaded file to your Minecraft server's plugins folder.
  3. Start or restart your server to load EternalScript.

Getting Started

Experience the power of EternalScript by writing and running your first Kotlin script:

  1. After installation, a plugins/EternalScript/scripts/ folder will be created.
  2. Write your Kotlin script file with a .kt extension inside this scripts folder.
  3. From the server console, you can use the /es load "/[script].kt" command to load a specific script, or /es compile to load all scripts within the folder.

Simple "Hello World" Example

Create a hello.kt file in the plugins/EternalScript/scripts/ folder and enter the following content:

// plugins/EternalScript/scripts/hello.kt

enable {
    Bukkit.broadcastMessage("Hello, world!")
}

Then, execute /es load "/hello.kt" from the server console, and you'll see the message appear in the game chat.

👥 Team & Contributors

VectorTransformation
VectorTransformationOwner

⚙️ Compatibility

Environment
🖥️ Server-side
Loaders
paper
Minecraft Versions
1.21.8

🔗 Links

Modrinth Page