RunScript
Run scripts in Minecraft using JAVA syntax. No compiling / IDE needed from the user side!
Based on original idea from Kyle -> http://www.spigotmc.org/resources/run-eclipse-alternative.754/
Commands:
- None yet
How does it work?
The plugin is event based. There is a text file for each event and you add Java source code to deal with the event how you like. There is no compiling or anything, just type your JAVA source code, save and off you go!
You have full access to the event within the text file.
What events can I use?
Player:
Why did you create this?
As a tool to introduce students to Java so they do not have to use an IDE. Of course an IDE gives you alot more control, but can be overwhelming and time consuming to get started. This plugin introduces them to JAVA in a simple manor and gets them used to typing raw code, before moving on to an IDE.
How do I get started?
Drop the jar file into your plugins folder. it will create a folder within the plugin folder called "Events". Each text file are named according to there event type. See the examples to get it working.
Examples:
Example 1 - Stop players from breaking blocks
Example 2 - Send a message to a player on Joining and change the default join message
Example 3 - Strike lightning where a player dies and change the default death message
GitHub:
https://github.com/teozfrank/RunScript
If you add new events all I ask is that you push them upstream, thanks
License:
- MIT
Any questions or comments feel free to leave them in the forum.
Run scripts in Minecraft using JAVA syntax. No compiling / IDE needed from the user side!
Based on original idea from Kyle -> http://www.spigotmc.org/resources/run-eclipse-alternative.754/
Commands:
- None yet
How does it work?
The plugin is event based. There is a text file for each event and you add Java source code to deal with the event how you like. There is no compiling or anything, just type your JAVA source code, save and off you go!
You have full access to the event within the text file.
What events can I use?
Player:
- AsyncPlayerChatEvent
- PlayerCommandPreprocessEvent
- PlayerDeathEvent
- PlayerInteractEvent
- PlayerJoinEvent
- PlayerLoginEvent
- PlayerMoveEvent
- PlayerQuitEvent
- PlayerRespawnEvent
- PlayerKickEvent
- PlayerPickupItemEvent
- PlayerTeleportEvent
- CreatureSpawnEvent
- BlockBreakEvent
- BlockBurnEvent
- WeatherChangeEvent
Why did you create this?
As a tool to introduce students to Java so they do not have to use an IDE. Of course an IDE gives you alot more control, but can be overwhelming and time consuming to get started. This plugin introduces them to JAVA in a simple manor and gets them used to typing raw code, before moving on to an IDE.
How do I get started?
Drop the jar file into your plugins folder. it will create a folder within the plugin folder called "Events". Each text file are named according to there event type. See the examples to get it working.
Examples:
Example 1 - Stop players from breaking blocks
Spoiler
The code
Note this file has been re-named to BlockBreakEvent.txt
How it looks in game
Note this file has been re-named to BlockBreakEvent.txt
How it looks in game
Example 2 - Send a message to a player on Joining and change the default join message
Spoiler
The code
Note this file has been re-named to PlayerJoinEvent.txt
How it looks in game
Note this file has been re-named to PlayerJoinEvent.txt
How it looks in game
Example 3 - Strike lightning where a player dies and change the default death message
Spoiler
The code
How it looks in game
How it looks in game
GitHub:
https://github.com/teozfrank/RunScript
If you add new events all I ask is that you push them upstream, thanks
License:
- MIT
Any questions or comments feel free to leave them in the forum.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
RunScript is a free Minecraft Java mod. Downloaded 983 times (via Spigot). Download it and open it directly in the game.