Class Placeholders

java.lang.Object
dev.demeng.pluginbase.model.Placeholders
All Implemented Interfaces:
DynamicPlaceholders

public class Placeholders extends Object implements DynamicPlaceholders
A shorthand version of DynamicPlaceholders, allowing for string placeholders to be easily applied on strings, lists, and item stacks.
  • Constructor Details

    • Placeholders

      public Placeholders()
  • Method Details

    • setPlaceholders

      @NotNull public @NotNull String setPlaceholders(@NotNull @NotNull String str)
      Description copied from interface: DynamicPlaceholders
      Sets the placeholders in the string.
      Specified by:
      setPlaceholders in interface DynamicPlaceholders
      Parameters:
      str - The string to replace
      Returns:
      The replaced string