GithubHelp home page GithubHelp logo

flerouwu / spectatorplus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hpfxd/spectatorplus

0.0 0.0 0.0 997 KB

A Fabric mod that improves spectator mode by showing the hotbar, health, and held item of the spectated player

Home Page: https://modrinth.com/project/spectatorplus

License: GNU General Public License v3.0

Java 100.00%

spectatorplus's Introduction

SpectatorPlus

SpectatorPlus is a Minecraft mod designed to enhance the spectator mode experience by providing additional information about the player being spectated. With SpectatorPlus, you can gain insights into the spectated player's held item, health, hotbar contents, food level, and experience points. Additionally, it fixes a few longstanding Minecraft bugs with spectator mode.

Screenshot showing two Minecraft instances, one spectating the other

Features

  • Show the held item and health of the spectated player
  • Show the hotbar, health, food, and experience of the spectated player (Server-side required)
  • Show the currently open screen of the spectated player, such as when opening a chest or crafting table (Server-side required)
    • If the spectated player has the client-side mod installed as well, it can also show when they open their inventory
    • Additionally, when pressing the normal inventory keybind, the spectated player's inventory will be opened
    • Currently this feature is only supported on servers running Paper
  • Allow continuing to spectate even when the player teleports far away or between worlds (Server-side required)
    • This is a fix for MC-107113
    • Even works for clients without the mod installed!

In order for all of the mod's features to be enabled, the mod needs to be installed on the server side as well. This is because Minecraft normally does not send some needed data to clients. Fabric and Paper are supported for the server-side.

Permissions

SpectatorPlus has permissions included that you can use to control which players receive extra information about the player they are spectating. By default, all players have access to all information and no setup is required. If you would like to change this, you can use a permissions plugin/mod such as LuckPerms. On Fabric, SpectatorPlus uses fabric-permissions-api to check permissions.

Permission Description
spectatorplus.sync.experience Allows the player to receive the experience value of the spectated target
spectatorplus.sync.food Allows the player to receive the food value of the spectated target
spectatorplus.sync.hotbar Allows the player to receive the hotbar items and selected slot of the spectated target
spectatorplus.sync.inventory Allows the player to receive the full inventory of the spectated target when a screen is open
spectatorplus.sync.screen Allows the player to receive the open screen of the spectated target (e.g. a chest)

spectatorplus's People

Contributors

hpfxd avatar

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.