HomeJavaModsrscFirstJoinDemo — Really smooth flying demonstrations
rscFirstJoinDemo — Really smooth flying demonstrations
ModsJava

rscFirstJoinDemo — Really smooth flying demonstrations

⬇ Download on Spigot
rscFirstJoinDemo allows you to create trajectories for player flights (one for the first join and others are sign-based).
[​IMG]
For russian-speaking users: plugin's page @ rubukkit.org

Don't forget to vote for this resource if it was useful for you! Thanks!

Description.

Every trajectory is an ordered set of points (Location + extra info). When a player enters your server for the first time, plugin will teleport him along the trajectory. Trajectory points are very customizable:
Hauling player is hidden from all other players, has enabled flight, spectator mode (servers 1.8+); he cannot chat. If something is going wrong (even disconnect) all parameters will be restored and player will be teleported to the end of trajectory (last point).

Plugin supports a number of trajectories, all of them should be named and stored in <caption>.json file near config.yml. Only one of them is used for first joining players, other can be used for different purposes.

Using signs with flights.
When you want to give players ability to flight any of existing trajectories, just create a sign with the following format:
  1. First line should be [rscfjd] (case-insensitive).
  2. Second line should contains the name of a trajectory.
Any player right-clicked on the sign will be hauled through this trajectory. If trajectory has it's custom permission (property of the trajectory) player need it to use sign. On the other side, if you've enabled permissions for signs ( config.yml/settings.require-permissions-for-signs is true), player need rscfjd.sign.<trajectory name> (or rscfjd.sign.*) for using it. Hovewer, if both permissions are required, only one of them allows sign to be usable.

There are a number of interesting things you can make using this plugin: teleports with soft flying, fast elevators along upstairs/downstairs, demo for server features, etc.

Installation and upgrading.
Download plugin's .jar file into plugins directory. Restart the server or load the plugin using plugin manager. You can start using it immediately.
There is no need to edit default config.yml in most cases. If you edit it, run reload subcommand.
Plugin contains auto-updater feature. When it finds newer version all admins will receive notification about it. Also you can look for an update with update subcommand. Calling update do subcommand will start the updating process. It is good idea to restart your server after new version is installed.

Configuration.
Spoiler: Default config.yml contents
Code (YAML):
settings :
  # Caption of a trajectory which to start for first joining players.
  first-join-trajectory
: 'firstjoin'
  # Enable or disable automatic playing of first-join demo.
  first-join-enable
: true
  # Number of ticks to give logged in player before demo starts.
  first-join-delay
: 20
  # If true, right-clicking on the signs will require rscfjd.sign.<caption> permissions.
  require-permissions-for-signs
: false
  # What is to be shown in console
  logging
:
    player-start-stop
: true
    player-point-reached
: false

Commands.
Every online player with rscfjd.admin permission can create and edit trajectories. If several players editing them at the same time, there is still no problem — each player works with his own personal trajectory buffer. This is unnamed trajectory binded to the online player editing it. Personal buffers are also saved across server restarts in ./buffers/<uuid>.json files.
You can start new trajectory from scratch or load named trajectory from file into your buffer, edit it, and save into file again under old or new name.
Write in discussion what other commands do you want to see.

Permissions.
Source code and development builds
of this project can be acquired here and here, respectively. Use development builds at your own risk! They can be unstable and corrupt plugin's configuration files. If you think you are able to improve the functionality, please send me your Pull Requests on GitHub.
Use Ask Question / Get Support button to the right to get faster help (link to the GitHub issues).

Compatibility.
I'm writing code using only latest Bukkit API (today it is SpigotAPI for 1.8.8) and a minimum set of libraries which are included inside .jar. Plugin should work on older server versions: 1.7.x, 1.6.x, and even 1.5.x-1.2.x. Using outdated servers causes some limitations — no titles, no spectator mode, etc.

This plugin utilizes Hidendra's plugin metrics system which collects some generic information about your environment and sends it to mcstats.org.
[​IMG]

My other plugins.
Try rscMessagesAutoMessage replacement for multiserver environments. It contains message lists inside MySQL and very simple. The second one is rscPermissions — fast and powerful MySQL permissions manager for multiserver environments. It is incomplete now in the part of in-game commands but works good.

Commands

Plugin details

Read from the plugin's own plugin.yml.

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.

rscFirstJoinDemo — Really smooth flying demonstrations is a free Minecraft Java mod. Compatible with Minecraft 1.8. Downloaded 935 times (via Spigot). Download it and open it directly in the game.

Explore more