Advertisement
NeonJ

Matthew Barette Pastebin

Mar 7th, 2013
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 10.25 KB | None | 0 0
  1. # COOKIES is a small interact script example for 0.8.4+
  2. # This script is kept simple to allow a base scripting example to extend upon.
  3. #
  4. # Tell the npc 'cookies' and get a treat!
  5. # Note: Be sure the 'chat trigger' is enabled.
  6. #
  7. # @author aufdemrand
  8. # @version 1.0
  9. # @last-updated Jan 18 2013
  10.  
  11. "MatthewScript":
  12.   type: assignment
  13.  
  14.   actions:
  15.     on assignment:
  16.      - trigger name:click toggle:true
  17.       - trigger name:chat toggle:true
  18.  
  19.   interact scripts:
  20.    - 10 Matthew Introduction
  21.  
  22.  
  23. 'Matthew Introduction':
  24.     type: interact
  25.     steps:
  26.         1:
  27.             click trigger:
  28.                 script:
  29.                # On clicking, run a slightly different script to check requirements before presenting quest stage 1.
  30.                 - ^runtask "script:Matthew Help"
  31.         2:
  32.             click trigger:
  33.                 script:
  34.                - ^runtask "script:Matthew Help"
  35.             chat trigger:
  36.                 'Matthew TownyGuide':
  37.                     trigger: I would like the /Towny/ guide.
  38.                     script:
  39.                        - engage now
  40.                         - chat "Oh, you want the <dark_purple>Towny guide<green>?"
  41.                         - chat "Give me a moment..."
  42.                         - wait 1
  43.                         - EXECUTE ASSERVER "sentry 0 equip BOOK"
  44.                         - wait 1
  45.                         - EXECUTE ASSERVER "sentry 0 equip none"
  46.                         - chat "Here ya go!"
  47.                         - ^scribe 'script:Towny Information Booklet' give
  48.                         - wait 1
  49.                         - chat "Enjoy your new booklet, sir!"
  50.                         - disengage
  51.                 'Matthew General Chat':
  52.                     trigger: I would just like to /talk/.
  53.                     script:
  54.                        - random 5
  55.                         - chat "Are you new, <aqua><player.name><green>?"
  56.                         - chat "Welcome to the Town Hall!"
  57.                         - chat "Have you seen <aqua>NeonJ<green> about lately?"
  58.                         - chat "You should go to <aqua>NeonJ<green> if you're in need of help!"
  59.                         - chat "I may be a student, but I can still give people <dark_purple>guides<green>!"
  60.                         - chat "My boss gave me this <dark_purple>Towny guide<green> to give to people who ask."
  61.                 'Matthew Goodbye':
  62.                     trigger: Good /bye/.
  63.                     script:
  64.                        - random 3
  65.                         - chat "Goodbye, <aqua><player.name><green>!"
  66.                         - chat "See ya, <aqua><player.name><green>!"
  67.                         - chat "Come back soon, <aqua><player.name><green>!"
  68.                 'Unexpected Response':
  69.                     trigger: /REGEX:\w+/
  70.                     script:
  71.                        - random 3
  72.                         - chat "What do you mean?"
  73.                         - chat "I don't understand."
  74.                         - chat "Please word that differently."
  75. "Matthew Help":
  76.   type: task
  77.   script:
  78.  # After the quests are done, the NPCs will help the players with basic topics.
  79.   - chat "Welcome, <aqua><player.name><green>! What do you need to know?"
  80.   - narrate "  <red>Available Topics:"
  81.   - narrate "  > <green>I would like the <blue>Towny<green> guide."
  82.   - narrate "  > <green>I would just like to <blue>talk<green>."
  83.   - narrate "  > <green>Good <blue>bye<green>."
  84.   - ^zap 2 "script:Matthew Introduction"
  85.    
  86. "Towny Information Booklet":
  87.   type: book
  88.   title: "<player.name>'s Towny Info Booklet"
  89.   author: <npc.name>
  90.   text:
  91.  - -------------------<n><&ss>1<&ss>oTowny Info Booklet<&ss>0<n>-------------------<n><n>An <dark_green>informational<black> booklet to help new players get started with the <dark_blue>Towny<black> plugin.<P><n>~ For <dark_aqua><player.name><n><black>  - <dark_green><npc.name>
  92.  - <&ss>1<&ss>l<&ss>oTowny Basics<&ss>0<n>-------------------<n><n><dark_blue>Towny<black> is a plugin used to protect player houses from grief and organize players into towns. It is a very <&ss>4powerful<&ss>0 plugin which gives players <&ss>2great control<&ss>0 over what they want others to do on their land.
  93.   - Towny organises land into <&ss>18x8 chunks<&ss>0, from sky to bedrock. Players can <&ss>2purchase<&ss>0 these 8x8 chunks of land using the server's currency, <&ss>5Bells<&ss>0. Most players purchase multiple plots at a time, giving greater flexibility over the size of your land.
  94.   - With Towny, players are divided into <&ss>2four categories<&ss>0<&co><n><n><&ss>1Nomads<&ss>0 - Those who do not live in a town.<n><&ss>1Residents<&ss>0 - Those who live in another's town.<n><&ss>1Mayors<&ss>0 - Those who have their own town.<n><&ss>1Kings<&ss>0 - Those who manage their own nation.
  95.   - As a <&ss>2new player<&ss>0, you will first want to move into someone else's town. To do this, ask the town's <&ss>1mayor<&ss>0 to <&ss>2invite<&ss>0 you as a resident. When you become a resident, you will want to purchase some <&ss>1<&ss>1plots<&ss>0. Look for land that is for sale.
  96.   - To claim a plot that is for sale, stand on that plot and type <&ss>3/plot claim<&ss>0 into the chat. This will claim an <&ss>18x8 chunk<&ss>0 of land. If you need to buy more, repeat the command again inside adjacent plots. Ask your <&ss>1Mayor<&ss>0 if you need help with this.
  97.   - When you have a plot of sufficient size, you can start building in it without worry. By <&ss>2default<&ss>0, only players you have added as a <&ss>2resident friend<&ss>0 [explained later] can build and destroy on your plots.
  98.   - <&ss>1<&ss>l<&ss>oAdvanced Towny<&ss>0<n>-------------------<n><n>With <&ss>1Towny<&ss>0, you can also allow other players to build in your plots using <&ss>2permissions<&ss>0 [<&ss>3perms<&ss>0] and <&ss>2resident friends<&ss>0.<n>Advanced control over multiple <&ss>1plots<&ss>0 is possible, too.
  99.   - When setting up <&ss>2resident permissions<&ss>0, players are grouped into <&ss>13 categories<&ss>0.<n><n><&ss>1Friends<&ss>0 - Players which are on your <&ss>2resident friend list<&ss>0.<n><&ss>1Allies<&ss>0 - Players living in your town or allied towns.<n><&ss>1Outsiders<&ss>0 - Everyone else.
  100.   - You can choose what these three categories of players can do in your plots.<n><n>For example, you can allow <&ss>2friends and allies<&ss>0 to <&ss>2open doors<&ss>0 on your plot, but not <&ss>2outsiders<&ss>0.
  101.   - The <&ss>2permissions<&ss>0 you can grant are put into four <&ss>2type groups<&ss>0.<n><n><&ss>1Build<&ss>0 - Allows building<n><&ss>1Destroy<&ss>0 - Allows block destroying.<n><&ss>1Switch<&ss>0 - Allows use of redstone, doors, chests, etc.<n><&ss>1Item Use<&ss>0 - Allows buckets, bone meal and flint and steel.
  102.   - Note that if you want to specifically lock a <&ss>2certain door or chest<&ss>0 while not restricting use of others, you can protect specific items with <&ss>1LWC<&ss>0, using the command <&ss>3/lock<&ss>0 [aka <&ss>3/cprivate<&ss>0]<n><n>Use <&ss>1LWC<&ss>0 with <&ss>1Towny<&ss>0 for the best experience!
  103.   - To allow a group to do something on a specific plot, use<&co><n><&ss>3/plot set perm [fao] [bdsi] {on/off}<&ss>0<n>Replace [fao] with <&ss>2friend<&ss>0, <&ss>2ally<&ss>0 or <&ss>2outsider<&ss>0.<n>Replace [bdsi] with <&ss>2build<&ss>0, <&ss>2destroy<&ss>0, <&ss>2switch<&ss>0 or <&ss>2item<&ss>0.<n>{on} to allow<n>{off} to disallow
  104.   - You can also omit the <&ss>2type<&ss>0 or <&ss>2group<&ss>0 to have it affect everything.<n><n>Eg<&co> <&ss>3/plot set perm friend on<&ss>0 will give the <&ss>2friend<&ss>0 group ALL <&ss>2[bdsi]<&ss>0 permissions.<n><n>Eg<&co> <&ss>3/plot set perm switch on<&ss>0 will give <&ss>2switch<&ss>0 permission to <&ss>2everyone<&ss>0.
  105.   - You can use the <&ss>3/plot perm<&ss>0 command to see what permissions the plot you're standing in has.<n><n>It will tell you all the permissions that are <&ss>2on<&ss>0. A <&ss>3-<&ss>0 icon will be where a permission is <&ss>2off<&ss>0.
  106.   - Eg<&co> <&ss>2Build = <&ss>8fa-<&ss>0<n><n><&ss>2Build<&ss>0 permissions are given to <&ss>2friend<&ss>0 and <&ss>2ally<&ss>0 groups, but not to the <&ss>2outsider<&ss>0 group.<n><n>Eg<&co> <&ss>2Switch = <&ss>8-ao<&ss>0<n><n><&ss>2Switch<&ss>0 is given to <&ss>2ally<&ss>0 and <&ss>2outsider<&ss>0, but not <&ss>2friends<&ss>0.
  107.   - To add a player as a friend, use <&ss>3/res friend add [name]<&ss>0. The player has to be online to add.<n>To remove a friend, use <&ss>3/res friend remove [name]<&ss>0.<n><n>You do not have to type the full name, only the first part.
  108.   - If you wish to add / remove a player who is offline, use <&ss>3/res friend add+ [name]<&ss>0 or <&ss>3/res friend remove+ [name]<&ss>0.<n><n>With these commands, you have to enter the name <&ss>2exactly<&ss>0, otherwise it will not work.
  109.   - <&ss>1<&ss>l<&ss>oAbout Taxes<&ss>0<n>-------------------<n><n>In <&ss>1Towny<&ss>0, residents and towns have to pay a <&ss>2small upkeep<&ss>0 to the server. This helps eliminate <&ss>2inactive<&ss>0 towns and players, and keep things rolling and fresh.
  110.   - For normal residents like you, the taxes are set by your <&ss>1mayor<&ss>0. These taxes occur automatically every <&ss>2120 minutes<&ss>0, directly from your cash count.<n>To avoid being kicked out, make sure to always have a good amount of <&ss>5Bells<&ss>0 on you!
  111.   - <&ss>1Towns<&ss>0 and <&ss>1nations<&ss>0 also have to pay upkeep. For <&ss>1towns<&ss>0, the amount is around <&ss>56,400 Bells<&ss>0, higher or lower depending on the population of the town. For <&ss>1nations<&ss>0, the amount is around <&ss>512,800 Bells<&ss>0, yet again dependant on population.
  112.   - It is recommended to keep at least <&ss>9<&ss>550,000 Bells<&ss>0 on you at any time, so that you can pay your taxes and be safe from being kicked should you forget to log on for a few days.<n><n>[For comparison, the price is about the same as <&ss>54 Iron Ingots<&ss>0]
  113.   - <&ss>1<&ss>l<&ss>oExtra Information<&ss>0<n>-------------------<n>Further <&ss>1Towny<&ss>0 commands can be found out by typing the <&ss>3/towny<&ss>0 command into the chat. It will tell you all the commands you can use to find out commands you can use. <&ss>8[Yo dawg!]<&ss>0
  114.   - For information about becoming a <&ss>1mayor<&ss>0 or <&ss>1king<&ss>0, check out later books in this series!<n><n>~ Coming Soon! ~
  115.   - <n><n><n><n><n><n><n><&ss>3<player.name>'s Towny Information Booklet<&ss>0<n><n><n>   ~ <&ss>2Matthew Barette
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement