Advertisement
Guest User

Untitled

a guest
Sep 13th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. // this code
  2.  
  3. @Setting(comment = "Disable the database service by setting to \"true\"")
  4. public String disabled = "true";
  5.  
  6. @Setting(comment = "The database service used. Values are \"mysql\", \"file\"")
  7. public String databaseService = "mysql";
  8.  
  9. @Setting(comment = "The name of the database in the service.")
  10. public String databaseName = "database";
  11.  
  12. @Setting(comment = "The username of the service which may access the database")
  13. public String databaseUser = "steve";
  14.  
  15. @Setting(comment = "The plain text password of the user")
  16. public String databaseUserPassword = "squeemish ossifrage";
  17.  
  18.  
  19. // yields this condfig data:
  20. // notice not all of the String fields are in quotes.
  21. // notice the order of the fields (alphabetical)
  22.  
  23. /*
  24. database {
  25. # The name of the database in the service.
  26. databaseName=database
  27. # The database service used. Values are "mysql", "file"
  28. databaseService=mysql
  29. # The username of the service which may access the database
  30. databaseUser=steve
  31. # The plain text password of the user
  32. databaseUserPassword="squeemish ossifrage"
  33. # Disable the database service by setting to "true"
  34. disabled="true"
  35. }
  36. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement