Giter Site home page Giter Site logo

lobbyspawnpoint's Introduction

Commands

/lobbyset

Permission: lobby.set

Sets the spawn for new players to your position and rotation.

/lobbytp

Permission: lobby.tp

Teleport to the set lobby position.

/lobbyreset

Permission: lobby.reset

Reset which players are considered 'new'.

Translations

spawnpoint_set

Formatting: {0} = x-position, {1} = y-position, {2} = z-position, {3} = yaw rotation

Called after setting the spawnpoint.

spawnpoint_teleported

Formatting: {0} = x-position, {1} = y-position, {2} = z-position, {3} = yaw rotation

Called after teleporting to the spawnpoint.

spawnpoint_reset

Called after resetting the player save file.

Configuration

<?xml version="1.0" encoding="utf-8"?>
<LobbySpawnpointConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  
  <!-- X coordinate of spawnpoint position -->
  <X>decimal</X>

  <!-- Y coordinate of spawnpoint position -->
  <Y>decimal</Y>

  <!-- Z coordinate of spawnpoint position -->
  <Z>decimal</Z>

  <!-- If the coordinates have been configured, which enables the plugin's functionality. -->
  <SetUp>true|false</SetUp>

  <!-- Should the plugin's data be saved in plain-text instead of raw binary (larger file size). Changing this will auto-convert the old file -->
  <PlainTextSaveFile>true|false</PlainTextSaveFile>
</SkillSetsConfiguration>

Storage

New players are saved in a binary file, which can optionally be made into plain-text from config. It's not recommended to edit the binary file at all, and edit the plain-text file with caution. It must be encoded in ASCII with no BOM (byte order mark).

Changing the type in config will auto-convert the old file to the new type if it exists.

lobbyspawnpoint's People

Contributors

danielwillett avatar

Stargazers

 avatar

Watchers

 avatar

lobbyspawnpoint's Issues

Bug Reports

Put bug reports here if any idk seems pretty bug-free to me.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.