HomeJavaModsCVTweaks
CVTweaks
CVTweaks — screenshot 1

CVTweaks is a collection of features designed to make playing on the Cubeville minecraft server (cubeville.org) more efficient.

CVTweaks is not affiliated with Cubeville in any way, this is an unofficial, player-made mod and is not endorsed by Cubeville

Features:

RegionScript

RegionScript is a custom-coded, extremely basic, scripting language which you are able to apply to regions or subzones by using a greeting message For instance: /rg flag AllergenX greeting !showTitle welcome to my plot | 1 | !showActionBar 1 second after wow will show a title on the player's screen when they enter my plot, wait 1 second, and then show a message in the action bar as well

There are tons of other commands you can use

RegionScript Commands:

RegionScript 2 Lua Scripting

RegionScript 2 allows you to run custom Lua scripts directly in the client. Scripts are loaded from Pastebin and run in a sandboxed environment.

Getting Started

  1. Write your Lua script and upload it to Pastebin.
  2. Get the raw link for your paste.
  3. In game, type !script to load and run your code.
  4. To reload the script after making changes, type !reloadlua.
  5. To stop all scripts and audio, type !stopall.

Your script must include a tick() function if you want code to run repeatedly 20 times per second.

The Player Object

You can access player data using the player table.

Global Functions

Chat and UI

World and Blocks

Audio and Particles

Example Script

function tick()
    local x = player.getX()
    local y = player.getY()
    local z = player.getZ()

    -- Show your position in the action bar
    setActionBar("Pos: " .. math.floor(x) .. ", " .. math.floor(y) .. ", " .. math.floor(z))
end
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more