Skip to content

J1b1x/ReplayExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MapVideoExample

php api

This is a plugin example, of how to use the Replay library.

NOTE

This is just an EXAMPLE plugin, of how you can use the Replay API, it's not really supposed to be a "feature rich" plugin (even though it is).

Functionality

You can either use this plugin as recorder or as a replayer. Just configure it in the config.yml.

Recording

If you're using this plugin for recording, you need to use the /record command.

  • /record | gamereplay.command
  • /record record [game-name] [identifier-length] | gamereplay.command.record
  • /record stop | gamereplay.command.stop
  • /record world <world> [teleport-players] | gamereplay.command.world

Replaying

Well, replaying is actually pretty simple. Just join the server and click on the compass.

If you have the permission gamereplay.search, you can also watch replays of other people, if you have their replay's ID. Just press the Search Replay button and put in the replay ID. Only people with the gamereplay.delete permission can delete replays.

About

This is a plugin example, of how to use the Replay library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages