Class EnableFeatureAction

java.lang.Object
games.stendhal.server.entity.npc.action.EnableFeatureAction
All Implemented Interfaces:
ChatAction, PostTransitionAction

@Dev(category=OTHER, label="Feature+") public class EnableFeatureAction extends Object implements ChatAction
Enables a client side feature.
  • Constructor Details

    • EnableFeatureAction

      public EnableFeatureAction(String feature)
      Creates a new EnableFeatureAction.
      Parameters:
      feature - name of feature
    • EnableFeatureAction

      @Dev public EnableFeatureAction(String feature, String value)
      Creates a new EnableFeatureAction.
      Parameters:
      feature - name of feature
      value - value of feature (null means disabled, "" means enabled without value)
  • Method Details