/RTP

fun with spatial math

Primary LanguageJava

RTP

Overview

A spigot plugin for random teleportation. https://www.spigotmc.org/resources/rtp.94812/

The goal of this plugin is function over form,

  • unique geometry to produce flat random distributions and support a learning algorithm
  • unique methods to learn from placements and avoid redundant selections, e.g. trying the same ocean thousands of times
  • region-based design, supporting any number of rtp regions per world
  • per-world and per-region configuration and teleport permissions
  • adjustment of region and world settings by command or by config file
  • adjustment of all plugin messages, except for utility logs

Build Instructions

This codebase was put together in Intellij IDEA. You can open the base directory as a project, trust the sources, and build as-is with maven.

more detailed instructions can be found here - https://github.com/DailyStruggle/RTP/wiki/Compiling-and-Editing

Shapes

The plugin has some pretty useful shapes by default -

circle, using an exponential distribution of 0.1, 1.0, 10.0 zu5gW62

square, using an exponential distribution of 0.1, 1.0, 10.0 3mrkKh1

circle, using a normal distribution SUGBQk3

square, using a normal distribution pzu9j63

rectangle, using a flat distribution and a rotation 3Yw2tBj

This plugin also allows arbitrary shape addition via API calls.

Check the addons directory for examples on adding shapes, biome methods, claim plugin integrations, and commands