Skip to content

Denizen tool which creates an HTML interface to browse Flags and Notes.

License

Notifications You must be signed in to change notification settings

seb303/DnBrowse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DnBrowse

Denizen tool which creates an HTML interface to browse Flags and Notes.

v1.0.3 2022-08-10

Installation

Requires Denizen-1.2.5-b6309-DEV or newer.

Copy scripts and webroot/dnbrowse into plugins/Denizen/, maintaining directory structure.

The following config options should be set in Denizen/config.yml:

  • Commands/WebServer/Allow: true
  • Tags/List flags/I know what im doing and need this: true

Edit the config options at the start of scripts/dnbrowse.dsc to set the server address and which port the interface should use.

Usage

To get a link to the browser interface, run command /dnbrowse

Permissions

  • custom.dnbrowse base permission needed to use
  • custom.dnbrowse.tp allow to teleport player to locations, etc.
  • custom.dnbrowse.edit allow editing and deleting of flags and notes (not yet implemented)
  • custom.dnbrowse.secrets allow to show dnbrowse_secret flags, otherwise these and dnbrowse_active are filtered

Note that depending on the permissions system, the player may need to be online for the permissions to function (i.e. if the web interface is reloaded while the player is offline then the permissions may default to false).

Features

Shows a tree view of Denizen data within a web-browser.

Flags

Currently supports: server flags and player flags, plus flags attached to noted locations, areas, inventories and inventory items. Bear in mind that location flags are stored with chunk data and so will only be available if the chunk is currently loaded.

Other flaggable objects may be added later.

Expiring flags show an icon, with relative and absolute expiration times on mouseover.

Notes

All types of note can be browsed: locations, cuboids, ellipsoids, polygons and inventories.

Search / Filter

A search function allows searching of the data within the current tab. Since player flags are loaded on demand when each player is expanded in the tree view, only loaded players will be searched.

The search can either expand and highlight all matches, or filter the tree so only matches are shown.

Player objects

Player objects show the player's head (from crafatar.com). Clicking the head opens the player's flags.

Teleport

If a Location or AreaObject is saved in flag or note, clicking an icon allows the player who launched DnBrowse to be teleported to the location. In the case of an AreaObject the player will be teleported to the center and the area will be selected with the Denizen Area Selector Tool and/or WorldEdit, if available. Requires permission custom.dnbrowse.tp

Screenshots

Server Flags Player Flags Notes

About

Denizen tool which creates an HTML interface to browse Flags and Notes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published