MartenM / ServerTutorialPlus

A simple to use but feature rich plugin to guide players around your server.
18 stars 13 forks source link

Colorcodes do not work in latest 1.18.2 #67

Closed CloudeLecaw closed 2 years ago

CloudeLecaw commented 2 years ago

create a tutway with a title and subtitle you will see the colorcods are written out instead of used

        title:
          title: '&2$$$&6Die Bank&2$$$'
          subtitle: '&4Folge den Partikeln'

Snag_11441dc

[23:27:47 INFO]: This server is running Paper version git-Paper-286 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: d4a712d)
You are running the latest version
Previous version: git-Paper-285 (MC: 1.18.2)

Plugin Version: 1.23.4

CloudeLecaw commented 2 years ago

EDIT: Today i tested a bit with it arround and noticed that the colors work aggain if i replace all &-Codes with §-Codes so it looks like the translation from the plugin from &-Colorcodes to §-Colorcodes broke :3

so Change it from image

to

image

and reload the plugin and see image

the colors are back :D

MartenM commented 2 years ago

Unable to replicate using the following configuration.

tutorials:
  welcome:
    stats:
      plays: 16
    invisible: false
    permission: true
    block-chat: false
    blocks-commands: false
    rewards: []
    command-whitelist: []
    points:
      '0':
        type: TIMED
        location: world -93.9010023234268 101.49315828580635 15.187647099923886 -130.6497
          16.050196
        time: 6.0
        locplayer: true
        locview: false
        messages: []
        actionbar: '&7&lTutorial in progres...'
        commands: []
        setFly: true
        title:
          title: '&aWelcome'
          subtitle: '&bTo the fishing town server!'
          fade-in: 20
          stay: 40
          fade-out: 20
        sound:
          sound: BLOCK_BAMBOO_HIT
          pitch: 1.0
          volume: 1.0

Example

[12:59:32 INFO]: This server is running Paper version git-Paper-311 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: d70ac03)
You are running the latest version
CloudeLecaw commented 2 years ago

Since we semm to be the only one with this issue i close this one now. I changes all ours & to the § what solved the issu for us. Thanks for pointing out that this seems to be no regular issue on all servers