darwj1

dComms Config 1.2.2

Jun 25th, 2019
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.75 KB | None | 0 0
  1. # dComms 1.2.2, by Darwin Jonathan
  2.  
  3. # Only set this to true if you need to reset the entire config.yml
  4. # It will only reset THIS config, though, saving the rest of them.
  5. doesConfigNeedReset: false
  6.  
  7. # This is the prefix that is used in chat, for when you use a command, for example.
  8. prefix: '&1{&9dComms&1}'
  9.  
  10. # This enables either the phone, or walkie-talkies. Simply remove the line, if you want to disable any of them.
  11. enableFollowingModules:
  12. - phones
  13. - walkietalkies
  14.  
  15. # Here's the full configuration for the phones
  16. Phones:
  17. # The item we should use for the phone
  18.   # For a list of valid materials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  19.   Item: IRON_INGOT
  20.  
  21.   # The item's display name
  22.   Name: '&6dPhone'
  23.  
  24.   # This enables applications in the phone, and the proper commands.
  25.   # call => /call, /contact
  26.   # text => /text
  27.   # music => /music
  28.   Features:
  29.  - call
  30.   - text
  31.   - music
  32.  
  33.   # This changes what the title of the phone's homescreen is in the GUI
  34.   guiHeader: '&fdPhone'
  35.  
  36.   # Setting up applications is here
  37.   Applications:
  38.    # The display names of the applications in the GUI, also acting as the GUI title for the apps
  39.     displayName:
  40.       Settings: '&eSettings'
  41.       Phone: '&ePhone'
  42.       Texting: '&eTexting'
  43.       Contacts: '&eContacts'
  44.       Music: '&eMusic'
  45.  
  46.     # This is important if you want to play music.
  47.     # You must create a folder: plugins/dComms/music
  48.     # In it, you must place .nbs files, named EXACTLY to the elements in the list
  49.     # For example, if I had a file called "ExampleSong.nbs", in musicList I must have an element "- ExampleSong".
  50.     # Make sure to check for typos, as that may make the function not work properly.
  51.     musicList: []
  52.  
  53.   # This enables /contact location, and also the Location setting in the Settings app
  54.   allowUseOfLocation: true
  55.  
  56.   # This enables the towers to be used
  57.   useTowers: true
  58.  
  59.   # This is the minimum distance required for a call or text sending to work if using towers
  60.   # Also, mid-call, if too far, this will send a &k formatted message instead.
  61.   rangeToNearestTower: 2000
  62.  
  63.   # This sound is played when a player is called
  64.   # For a list of valid sounds: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  65.   soundOnCallReceived: BLOCK_NOTE_BLOCK_CHIME
  66.  
  67.   # This sound is played when a player receives a text message, or when they log on with a new message
  68.   # For a list of valid sounds: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  69.   soundOnMessageReceived: BLOCK_NOTE_BLOCK_PLING
  70.  
  71.   # This is what the text will be formatted to as when in a call.
  72.   # Valid placeholders: $sender, $message, $player
  73.   chatPrefixForCalls: '&e$sender &bsays: &f$message'
  74.  
  75.   # This is what the text will be formatted to when a message is received.
  76.   # Valid placeholders: $sender, $message, $player
  77.   chatPrefixForTexts: '&bText from &e$sender&b: &f$message'
  78.  
  79.   # This will execute commands when text is send mid-call
  80.   # Valid placeholders: $sender, $message, $player
  81.   # If you want the server to send the command, use server@(command)
  82.   # You can only use server@ once, and only at the start of the command, typed exactly, without spaces between it and the command.
  83.   extraCommands: []
  84.  
  85. # Here's the full configuration for the walkie-talkies
  86. walkieTalkies:
  87. # The item we should use for the phone
  88.   # For a list of valid materials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  89.   Item: GOLD_INGOT
  90.  
  91.   # The item's display name
  92.   Name: '&6dWalkieTalkie'
  93.  
  94.   # The minimum and maximum frequency you can set your walkie-talkie to.
  95.   # Confusing the values will simply make you unable to set your frequency.
  96.   # Please make sure to make minimum equal to or less than maximum
  97.   # The minimum value is 0, the maximum is 2147483647
  98.   minimumFrequency: 100
  99.   maximumFrequency: 500
  100.  
  101.   # The range of the device, after this many blocks, the device will send a &k formatted message instead
  102.   rangeOfDevice: 1000
  103.  
  104.   # This sound is played when a player receives a message on the walkie-talkie
  105.   # For a list of valid sounds: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  106.   soundOnMessageReceived: BLOCK_STONE_PLACE
  107.  
  108.   # This is what the text will be formatted to when a message is received on the walkie-talkie
  109.   # Valid placeholders: $frequency, $message, $player
  110.   chatPrefix: '&8On &f$frequency&8 by &7$player&8: &f$message'
  111.  
  112.   # This will execute commands when text is send with the walkie-talkie in use
  113.   # Valid placeholders: $sender, $message, $player
  114.   # If you want the server to send the command, use server@(command)
  115.   # You can only use server@ once, and only at the start of the command, typed exactly, without spaces between it and the command.
  116.   extraCommands: []
Add Comment
Please, Sign In to add comment