[PAID][VORP] nss_pinboard

DESCRIPTION

Create bulletin boards where players can pin messages.

  • Configurable locations (prepared locations and ymap are included)
  • Configurable Discord webhook
  • Configurable Blip
    • If no blip is set no blips are shown on the map
  • Configurable prompt radius
  • Optional configurable automatic expiration duration
  • Configurable open key
  • Configurable admin group
    • Admins can use special command to unpin all notices at once (for all locations or specific locations)
  • Configurable job groups (e.g. the sherif can unpin notices)
  • Configurable languages
  • Different notice types: text or image
    • Lighweight text editor for text based notices
  • Day/night mode
  • Full responsive design
  • Sorting notices asc/desc
  • Everything is logged via Webhook

VIDEO

DEPENDENCIES

  • VORPCore

SUPPORT & INFO

  • Read the README.md for setup instructions.
  • This script is encrypted.

:dollar: Pay on → Tebex

Code is accessible No
Lines (approximately) 1100
Requirements VORP
Support Yes

:convenience_store:Our OTHER STUFF

:arrow_right: nss_chalkboard
:arrow_right: nss_quest
:arrow_right: nss_pinboard
:arrow_right: Krueger_MNPC
:arrow_right: Krueger_Carriages
:arrow_right: Krueger_Camera
:arrow_right: nss_electric_chair
:arrow_right: nss_npc
:arrow_right: nss_block_weapons
:arrow_right: nss_emotes
:arrow_right: nss_players_snapshot
:arrow_right: nss_ped_menu
:arrow_right: nss_damage_control
:arrow_right: nss_poop
:arrow_right: nss_skunk

2 Likes

:star: nss_pinboard :star:

  • Update v1.0.1 available
    add sorting notices asc/desc

:star: nss_pinboard :star:

Update v1.0.2 available

→ Results of automated processes are shown in discord more clear, e.g. “System” instead of character name.

→ Results of console commands are shown in discord more clear, e.g. “Marti McFly (via Console)”.

→ Add Config.DiscordWebhook.system_user_alias to config file, see example in config.demo.lua.

→ Add key discord_console_command to languages.

→ Fix to many linebreaks in poster text.

What must be considered during the update?

→ Update your config file with the new Config.DiscordWebhook.system_user_alias value.

→ Update your language file(s) with the discord_console_command key.

1 Like

:star: nss_pinboard :star:

Version 1.1.0 available:

  • Add possibility to pin a new notice everywhere at once. - Permissions of new feature is configurable for groups and character names (full names). - Add new language keys discord_location_everywhere , post_everywhere_at_once , post_everywhere_at_once_every_where and post_everywhere_at_once_only_here . - Update discord webhook to show as location “everwhere” if someone uses the new feature. - Admins always have the permission to use the new feature.

What must be considered during the update?

  • Update your config file with the new Config.PostEverywhereAtOncePermissions value (see config.demo.lua for details. - Update your language file(s) with new keys (see above).

:star: nss_pinboard :star:

Version 1.1.1 available:

  • Bugfix: Order of text sections are now correct if inserted between two existing sections.

What must be considered during the update?

  • Nothing. No configs or languages has been changed.

:star: nss_pinboard :star:

nss_pinboard v1.1.2 available:

  • Add hide_blip property for Config.Posters. If set to true no blip is shown on the map for the related pinboard. See config.demo.lua for example.

What must be considered during the update?

  • Nothing.

:star: nss_pinboard :star:

nss_pinboard v1.1.3 available:

  • Add optional new config attribute Config.DiscordWebhook.webhook_url_new for only new pinboard notifications.
  • Add optional new config attribute Config.DiscordWebhook.anonymous_new which hides the character name for webhook_url_new notifications. This have no effect to webhook_url notifications.
  • Add optional new config attribute Config.DiscordWebhook.webhook_url_removed for only removed pinboard notifications.
  • Add optional new config attribute Config.DiscordWebhook.anonymous_remover which hides the character name for webhook_url_removed notifications. This have no effect to webhook_url notifications.
  • Change config attribute Config.DiscordWebhook.webhook_url to be optional. It still sends all types of notifications to the same webhook but all authors and removers are not anonymous.
  • Add new translation discord_anonymous_user for anonymous characters for webhook_url_new and webhook_url_removed notifications.
  • Moved changelog from README.md to CHANGELOG.md.

What must be considered during the update?

  • Check the new config attributes in config.demo.lua and adapt your config.lua.
  • Check the language files for the new translation key.

:star: nss_pinboard :star:

nss_pinboard v1.1.5 available

  • Add new restrict_create_by_jobs in Config.Posters to restrict the creation of new posters to one or more specific jobs. See config.demo.lua for more information and examples.

What must be considered during the update?

  • Nothing.

Was wondering if it would be possible to have individual webhooks for individual boards?

It is not planned that each Pinnborad gets its own webhook.

:star: nss_pinboard :star:

nss_pinboard v1.1.6 available:

This update is recommended.

  • Config.JobRemovePermissions now checks correctly if job grade is equal or higher than the required grade (before it was checked if the job grade of the player was equal or lower to remove notices - whats wrong)

What must be considered during the update?

  • Nothing.

:star: nss_pinboard :star:

nss_pinboard v1.1.7 available:

  • Discord webhooks are now optionally configurable each board.

What must be considered during the update?

  • You find examples for the new feature in the config.demo.lua file.

:star: nss_pinboard :star:

nss_pinboard v1.1.8 available:

  • Add new required board property group. Restricts “post to all” feature to specific board groups.
  • Add new optional board property restrict_view_by_jobs. Restricts the access to view a board (and blip) to one or more specific jobs.

What must be considered during the update?

  • You find examples for the new config attributes in the config.demo.lua file.
  • Add the new required group attribute to each board config to group you boards. If you only have public boards then name your group for example “Public”.

:sparkles: nss_pinboard :sparkles:

nss_pinboard v1.1.9 available:

This update is recommended.

Fix jpeg support for images (currently jpg, jpeg, png and webm are supported).

What must be considered during the update?

Nothing.

:star: nss_pinboard - changelog :star:

1.2.0 (2023-07-13)

  • Add option to disable creation of text or image posts (globally or per board).
  • Add prev/next buttons to poster details for better navigation.
  • Add “pinboard service”. Players can pay a fee to post everywhere at once in a pinboard group.

What must be considered during update?

  • New language keys added (see New update 1.2.0 marks). Please add it to your language file(s).
  • Compare your config.demo.lua with your config.lua to consider new options.

1.1.9 (2023-07-05)

  • Fix jpeg support for images! (currently jpg, jpeg, png and webm are supported) :ok_hand:

:star: nss_pinboard :star:

nss_pinboard v1.2.1 available: This update is optional.

  • (Only) Update example map/bulletin_boards_config.lua and add missing group property.

What must be considered during the update?

  • Nothing.

:star: nss_pinboard :star:

nss_pinboard v1.2.2 available:

This update is optional.

Image urls with search params like https://example.com/image.jpg?xyz=123 are now supported, too.

What must be considered during the update?

Nothing.

:star2: nss_pinboard v1.3.0 available: :star2:
This update is optional.

  • Extend comments of config.demo.lua for more clarity.
  • Add some debug prints to actions.lua because in newer versions of vorp_core sometimes (especially on many players) no char data available if should.
  • Add torn sheet for broken image (e.g. that can no longer be found).
  • Add alternative style of bulletin board. See examples in config.demo.lua with new poster configuration attribute alternative_style .
  • Add new optional “close bulletin board on damage or combat” feature. See Config.HideOnCombatOrDamage in config.demo.lua .

What must be considered during the update? :kissing_heart:

  • New language keys added (see New since 1.3.0 marks). Please add it to your language file(s).
  • Compare your config.demo.lua with your config.lua to consider new options (see New since 1.3.0 marks).

Bild

:star2: nss_pinboard v1.3.1 available: :star2:
This update is optional.

  • Add Config.ImageServerBlacklist to block specific image servers. See config.demo.lua for more information.
  • Add FAQ to README.md .

What must be considered during the update? :smiling_face:

  • New language keys added (see New since 1.3.1 marks). Please add it to your language file(s).
  • Compare your config.demo.lua with your config.lua to consider new options (see New since 1.3.1 marks).