An open API service indexing awesome lists of open source software.

https://github.com/vgamerv3/hytale-plugin-template-permissions

Hytale plugin template for permissions workflows, with runnable starter code and prebuilt artifact.
https://github.com/vgamerv3/hytale-plugin-template-permissions

game-development gradle hytale hytale-depot hytale-plugin java permissions plugin-template template

Last synced: 18 days ago
JSON representation

Hytale plugin template for permissions workflows, with runnable starter code and prebuilt artifact.

Awesome Lists containing this project

README

          

# hytale-plugin-template-permissions

A starter for permission-style state, grant and revoke flows, and the diagnostics needed to reason about access decisions.

## Highlights
- grant, revoke, and inspect style actions
- stateful examples that keep access logic easy to read
- status output that highlights the current permission picture

## Requirements
- Java 25
- Hytale Server 0.5.3
- the included Gradle wrapper

## Build
```bash
./gradlew clean build
```

Built jars are written to `build/libs/hytale-plugin-template-permissions-1.1.0.jar`, with matching sources and javadoc jars next to it.

## Commands
- `/hdpermissionsdemo`: Runs a demo action for the Permissions template.
- `/hdpermissionsstatus`: Shows runtime status for the Permissions template.
- Common actions: `info, toggle, sample, grant-demo, revoke-demo, check-demo`

## Project Layout
- `src/main/java`: plugin entry point, commands, state objects, and service logic
- `src/main/resources/manifest.json`: metadata, entry class, and server target

## Install
1. Build the project with `./gradlew clean build`.
2. Copy `build/libs/hytale-plugin-template-permissions-1.1.0.jar` into your server `plugins/` directory.
3. Restart the server and run the included commands to confirm the template loaded correctly.

## What to Change First
- rename the package, command names, and manifest identifiers to match your project
- replace the demo actions with your real gameplay, economy, networking, or UI logic
- move any persistent state into the storage or config format you actually want to support

## Notes
- The Gradle build auto-detects a local `HytaleServer.jar` when one is nearby, but it can also resolve `com.hypixel.hytale:Server:0.5.3` directly from the Hytale Maven.
- The templates are intentionally small enough to read in one sitting, so you can copy them into a new repo and start renaming immediately.