You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,13 +110,10 @@ all fields in your class will be loaded and saved to the yaml document.
110
110
111
111
- The file specified in the constructor should be in the plugin's data folder, else it will appear in the main server directory.
112
112
113
-
- You can optionally set the defaults for the plugin by using `getResource`, this shouldn't be used by most people unless you are directly accessing values.
114
-
115
113
```java
116
114
public Settings(ExamplePlugin plugin) {
117
115
super(
118
-
newFile(plugin.getDataFolder(), "settings.yml"), // Point 1 (Required)
119
-
plugin.getResource("settings.yml"), // Point 2 (Optional)
0 commit comments