websitecommands

#31 - published 2 years ago

WebsiteCommands

Change Log:

  • TRYING A POTENTIAL FIX FOR STRANGE URL POPUPS RANDOMLY HAPPENING WHEN OPENURLONJOIN IS ENABLED
  • Updated OpenUrlOnJoin code to use a coroutine, Credit to avi for this, All of avi’s plugins can be viewed here

 

Allows for server owners to easily create commands that link prompt a player to open a website

Add commands through the config file.

More info on the config:
Name: name of the command (this is also the permission the players need to use the command)
Desc: The text that shows below the link, Aka a description of where the link goes to.
Help: the help text that shows for the command when you run help form console.
Url: The the link the command will prompt the player to open\

To add more commands just copy/paste the default command in the config and change its values

If you would like to donate to me it can be done here (click the paypal donate button under the text) – http://sharkbound.weebly.com/

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<WebsiteConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <OpenUrlOnJoin>false</OpenUrlOnJoin>
  <JoinUrl>www.google.com</JoinUrl>
  <JoinDesc>website:</JoinDesc>
  <WebsiteCommands>
    <WebsiteCommand>
      <Url>default</Url>
      <Desc>default</Desc>
      <CommandName>default</CommandName>
      <Help>default</Help>
    </WebsiteCommand>
  </WebsiteCommands>
</WebsiteConfig>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

Commands and permissions


/

Permissions:


Git changelog


775bc788e4a53c3 2017-05-19 20:33:38

made assemblies not copy to build location

    328b24f0f4ea50c 2017-05-19 20:28:28

    update to try and fix random url open requests

      d00dd01ab52226a 2017-04-29 05:01:39

      added coroutine for OnJoinUrl, Credit to Sam for this

        1c3b31be16a0526 2017-01-07 20:22:46

        updated libs

          c272517ba92867c 2017-01-04 01:06:22

          updated libs to try and fix a issue

            edc94de7222269c 2016-12-04 19:00:32

            updated libs

              7e3a2a9fdb8496b 2016-11-10 20:14:32

              added openurlonjoin option.

                6bc028ff63ce350 2016-11-04 19:41:44

                updated libs

                  f680be21b589ff5 2016-10-08 02:36:23

                  Remade repository

                    Download

                    Build #31
                    By downloading this file, you agree to our license terms.

                    Repository

                    github.com

                    License

                    MIT

                    Author

                    sharkbound