Coder Social home page Coder Social logo

Comments (2)

D3v1s0m avatar D3v1s0m commented on June 6, 2024

Whenever I give the npc a command such as /warp created by plugins such as DeluxeMenus, which aren't registered commands the plugin does not work with them

image

Whenever I click the NPC it says unknown command even though the command exists, it's just not registered... this does not happen with the Citizens plugin. and you might say: "why not just register the command?" in some use cases registering the command isn't possible for example if I register the command /plot for my deluxemenu gui it'll completely make my plotsquared plugin disfunctional when executing other commands such as /plot teleport

you either need to register the command using that plugin or you need to use the chat action type for 1.0.8 or playerchat action type for 2.0.0 snapshots.
example:
/znpcs action add 1 CHAT /warp pvp for 1.0.8
/npc action add playerchat 1 ANY_CLICK 1 0 /warp pvp for 2.0.0 snapshots

from znpcsplus.

SladeHazard avatar SladeHazard commented on June 6, 2024

Thank you that solved it!

from znpcsplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.