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 from the user side, 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?

  • BlockBreakEvent
  • PlayerJoinEvent
  • PlayerDeathEvent
  • AsyncPlayerChatEvent
  • PlayerInteractEvent
  • PlayerLoginEvent
  • PlayerMoveEvent
  • PlayerQuitEvent
  • PlayerRespawnEvent

Full list from the API to be added soon!

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

The code

  • Note this file has been re-named to BlockBreakEvent.txt

PlayerBreakBlock Example text

How it looks in game

PlayerBreakBlock Running

Example 2 - Send a message to a player on Joining and change the default join message

The code

  • Note this file has been re-named to PlayerJoinEvent.txt

PlayerJoin Example Text

How it looks in game

PlayerJoin Running

Example 3 - Strike lightning where a player dies and change the default death message

The code

PlayerDeath Example Text

How it looks in game

PlayerDeath Example running

GitHub:

Coming soon.

License:

MIT

Download

File Name Status Version Downloads Date
RunScript 0.2.1 R CB 1.7.9-R0.2 339 18/10/2014
RunScript 1.20.2 Updating 1.20.2 Updating Updating
RunScript 1.20.1 Updating 1.20.1 Updating Updating
RunScript 1.20 Updating 1.20 Updating Updating
RunScript 1.19.2 Updating 1.19.2 Updating Updating
RunScript 1.19.1 Updating 1.19.1 Updating Updating
RunScript 1.19 Updating 1.19 Updating Updating
RunScript 1.18 Updating 1.18 Updating Updating
RunScript 1.17.1 Updating 1.17.1 Updating Updating
RunScript Forge Updating Forge Updating Updating
RunScript Fabric Updating Fabric Updating Updating
RunScript
RunScript

Dear youtuber!
Have you a channel youtube and want to bring your Video to quality visitors?
Do you want your video to appear on our website?
Do you want to become partner with us?
Just 3 steps to become our partner:
Step 1: Make video review for mods, addons, plugins, ... which you like
Step 2: Upload this video to youtube and our link to your video description
Step 3: Send the youtube video link via message to http://fb.com/9lifehack or leave a comment in the post. We will add your video in the our post, it will help you have more view.
JOIN to get more youtube view with us!!!!

Related Posts

Smarty Productivity Happiness

9LifeHack.com - make things smart