Jump to content

Recommended Posts

Posted (edited)

dbicon.png.2aa18778e659ee114a97f492c0952194.pngdbscreenshot.thumb.png.d0e79a6058018c274ccdae86e9a2747f.png

MOD PAGE             ISSUES/SUGGESTIONS

Detailed D&D-style Roleplay Character Profiles and Flexible PvP Flag System


RP Character Info (RPCI) provides the ability to create, modify, and view detailed character profiles for your roleplaying needs. A custom dialog with fields inspired by a typical D&D character sheet enables players to write to their hearts content in an easily accessible place, for all to see.

Toggleable PvP flags are also managed with this mod; these flags will automatically update a player's name tag to include a flag (i.e. (PvP) yurajoh) for easy visibility, can prevent players from being damaged by other players if their own flag is not enabled, and more!

This mod must be installed on both the server and client!
 

Note: I might eventually break out the PvP Flag system into its own mod and make it a dependency for RPCI, but right now I'm leaving it bundled together. If you only care for the PvP Flag system, the Character Info dialog is completely optional! And if you only care for the Character Info dialog, the PvP Flag system can be disabled!

Key Feature Summary for RPCI (more details on the Mod Page!)


  • RP Character Info Dialog

    • Dialog opens on first join/character creation (configurable, default ON), open it at any time with CTRL + ALT + C
    • View/Edit your own character info with several different fields (field labels are configurable!)
      • Default field labels are Name, Faction, Race, Profession, Religion, Personality & Flaws, Bonds, Allies & Organizations, and Backstory
    • View the character info of any online player

    • Information displayed to users is always kept up-to-date, see changes the moment they are saved

    • Community-first text santization (configurable, default ON, see Banned Text Checking sub-section on the Mod Page)

    • PvP Flag can be viewed and set in dialog along with cooldown timer (dialog does not display cooldown of other players)
  • PvP Flag System

    • Automatic name tag updates, players who have PvP enabled will have "(PvP) " before their existing name tag (compatible with mods that modify player name tags like Simple Roleplay Nametag)

    • Cooldown to disable PvP flag after it is enabled (configurable, default 300 seconds)

    • Cooldown starts over on dealing or receiving PvP-related damage
    • PvP flag state changes of any kind are logged to the server audit log
    • Can automatically disable a players PvP flag on death (configurable, default OFF)
    • Prevention of damage between non-PvP and PvP flagged players (configurable, default ON)

      • Can allow non-PvP players to damage PvP players (configurable, default OFF, requires damage prevention to be on)

        • The non-PvP player will have their PvP flag immediately enabled upon dealing PvP damage
      • Can allow players in Creative Mode to damage non-PvP players (configurable, default OFF, requires damage prevention to be on)

        • Non-PvP players will not be flagged after receiving PvP damage from a player in Creative Mode

  • Commands

    • Players can use /rpci togglepvp to quickly toggle their PvP flag on or off, and /rpci clearcharacterinfo to quickly clear all character info they've saved/entered (does not affect PvP state)

    • Admins can use /rpci admin to clear one/all RPCI fields for an online player, or force an online player's PvP flag on or off

  • Configuration
    • Several server-side configuration options to tailor experience to needs (see Configuration section on the Mod Page)
  • Planned Features
    • Cool stuff that I will at some point maybe add! (see Planned Features section on the Mod Page)

Please use the GitHub Issue Tracker link for bug reports and feature suggestions, it's much easier for me to look through it all that way. I'll try my best to get to those items as well as general feedback as soon as I'm able. I'm pretty busy so it may take me a while, sorry in advance!

Edited by yurajoh
Updated for 1.2.1
  • yurajoh changed the title to RP Character Info (and PvP Flags) 1.2.0
Posted

Released version 1.2.0!

Added two new configuration options:
FieldLabels lets admins customize the field labels of the dialog to be whatever they'd like, with the previously hard-coded labels serving as default values.
EnablePvPFlagSystem determines whether or not the PvP Flag system as a whole is enabled (automatically disabled if the server's AllowPvP setting is off).

 

I also removed mentions of healing from the mod description, as it turns out healing doesn't indicate who it came from or who it targeted, meaning PvP flags will have no affect on healing regardless of what state they are.

  • yurajoh changed the title to RP Character Info (and PvP Flags) 1.2.1
Posted (edited)

Released version 1.2.1!

Fixed an issue where the RPCI dialog gets reset whenever a player joins or leaves the server. This was due to an issue with Vintage Story's built-in dropdown GUI element not supporting list updates without redrawing the entire dialog. The dialog will now prevent redraws while the user is in Edit mode, otherwise it will redraw and then restore the previous view. As a side effect, this means that the player list will not sync until after the user leaves the Edit mode. If a player who is no longer online is selected while in Edit mode, the user will be shown their own info instead and notified as to why.

Edited by yurajoh
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.